JES Command Overview
JES Command Overview
GX22-0041-06
OS/390 IBM
JES2 Commands Summary
GX22-0041-06
Note
Before using this information and the product it supports, be sure to read the general information under
Appendix A, Notices on page 57.
This edition applies to Version 2 Release 10 of OS/390 (5647-A01) and to all subsequent releases and modifications
until otherwise indicated in new editions.
Order publications through your IBM representative or the IBM branch office serving your locality. Publications are not
stocked at the address below.
IBM welcomes your comments. A form for readers' comments may be provided at the back of this publication, or you
may address your comments to the following address:
International Business Machines Corporation
Department 55JA, Mail Station P384
2455 South Road
Poughkeepsie, NY 12601-5400
United States of America
If you would like a reply, be sure to include your name, address, telephone number, or FAX number.
When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in any way
it believes appropriate without incurring any obligation to you.
Copyright International Business Machines Corporation 1998, 2000. All rights reserved.
US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
About This Book
The information in this booklet is summarized from OS/390 JES2 Commands.
This booklet shows the syntax of all JES2 commands. Preceding the syntax of the
commands is a table that alphabetically lists each JES2 command, the command's
function, and the page number where the syntax can be found. This booklet serves as
a "quick reference" to JES2 commands.
| New Commands
| $D Line
| For displaying a line.
| $T SPOOL
| Allows volumes to be associated with a system (SYSAFF=).
| $ZAPJOB
| Allows purging of jobs that affect JES2 restarts.
| Changed Commands
| $ Job Commands
| $L Selection Only Limiting Keywords diagram has been added.
| $D FSS
| FSSMADDR, FSSMLENG, FSSMPTF, and LONG have been added to the syntax
| diagram.
| $D, $T JOBCLASS
| SCHENV has been added to the syntax diagram.
| $D MODule
| FMID, LASTPFT, LONG, ROUTINES, VERSION, and UNVERSION have been
| added to the syntax diagram.
| $D, $T PRTnnnn
| ASID, FSSINFO, FSSMADDR, FSSMAPAR, FSSMPTF, FSSMLING, HASPFSSM,
| LONG, NAME, and PROC have been added to the syntax diagram.
| $D PRT, PUN
| STATUS has been added to the syntax diagram.
| $D SPOOL
| SYSAFF= has been added to the syntax diagram.
| $D, $T SPOOLDEF
| ACTIVE and VOLUMES have been added to the FENCE= operand.
| You must be in "Release 4 mode" to run OS/390 Version 2 Release 10 JES2 since
| support for "Pre-release 4 mode" has been dropped. Support for the $ACTIVATE
| command is no longer needed since only one checkpoint mode is currently supported.
Summary of Changes
for GX22-0041-05
OS/390 Version 2 Release 9
New Commands
Mnn
A new command has been added to send commands to other MAS members.
Nnnnn
A new command has been added to send commands through the network
Changed Commands
$T, $D JOBCLASS
SCHENV has been added to the syntax diagrams. $D JOBCLASS has been added
to the commands list in the front of Chapter 1.
$CO, $PO
HOLD, HOLDRC, PAGES, and RECORDS have been added to the syntax
diagrams.
$D M
The syntax diagram has been modified.
$T PRTnnnn
FSATRACE has been added to the syntax diagram.
$T Job
SCHENV has been added to the Selection Limiting Keywords syntax diagram.
Summary of Changes
for GX22-0041-04
OS/390 Version 2 Release 7
Summary of Changes
for GX22-0041-03
OS/390 Version 2 Release 6
L=: Numeric:
,L=a n
cc -n
cca
name ,
namea n)
(
-n
Destination: Identifier:
LOCAL id
ANYLOCAL -id
Nnnnn
nodename 'id'
destid ,
NnnnnRmmmm (id)
Ummmm -id
node.remote
destid id
'id'
remote
userid
Value:
'value'
,
value)
(
'value'
Note:
1 See JES2 Commands Common Syntax Elements.
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
$D PRINTDEF
,CCWNUM ,DBLBUFR ,RDBLBUFR ,FCB ,LINECT ,NEWPAGE
,NIFCB ,NIFLASH ,NIUCS ,TRANS ,UCS ,
LOCAL)
,SEPPAGE=(
REMOTE
!
,NEWPAGE
$D OPTSDEF!
,HASPPARM ,SPOOL ,STARTopt ,STARTYPE ,UNACTIVATE
$D SMFDEF!
,BUFFREE ,BUFNUM ,BUFWARN
$D CONDEF
,AUTOCMD ,BUFFREE ,BUFNUM ,BUFWARN ,CMDNUM ,CONCHAR
!
,DISPLEN ,DISPMAX ,MASMSG ,RDIRAREA ,RDRCHAR ,SCOPE
$D OUTDEF
,BRODCAST ,COPIES ,DMNDSET ,JOEFREE ,JOENUM ,JOERBLDQ
,JOEWARN ,OUTTIME ,PRTYHIGH ,PRTYLOW ,PRTYOUT ,PRYORATE
!
,SEGLIM ,STDFORM
$D DESTDEF
,LOCALNUM ,Ndest ,NODENAME ,Rdest ,RMdest ,RMTdest
!
,SHOWUSER ,Udest
$D TRACEDEF
,ACTIVE , ,PAGES ,
CLASS)
,LOG=( DISCARDS)
,STATS=(
SIZE IDS
START TOTDISC
!
,TABFREE ,TABLES ,TABWARN
$D SUBTDEF!
,GSUBNUM
$D REBLD!
$D SUBNET!
(1)
$D RECVopts Value (2) ,INTERVAL
,COUNT (2)
Notes:
1 See JES2 Commands Common Syntax Elements on page 6.
2 $D RECVopts only.
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
Note:
1 You can specify more than one parameter; you must specify at least one parameter.
$T ONLY Keywords:
,AUTOEMEM=OFF ,DORMANCY=mmmm
AUTOESYS ON ()
mmmm ,nnnn
,HOLD=nnnnnnnn ,LOCKOUT=nnnnn ,RESTART=No ,SHARED=CHECK
Yes NOCHECK
,SYNCTOL=nnn
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
$D R(n).CON
(1) .CON!
$DR Numeric
,STATUS
/
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
Notes:
1 See JES2 Commands Common Syntax Elements on page 6.
2 $ADD only.
Notes:
1 See JES2 Commands Common Syntax Elements on page 6.
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
$T, $D JOBCLASS(n)
(1)
$TJOBCLASS Value
$D $D Only Display limiting keywords
!
Selection Limiting Keywords $T Only Modification keywords
$T Only Modification keywords:
,ACCT=No ,AUTH=ALL ,BLP=No
Yes CONS Yes
INFO
IO
SYS
,
(2)
(ALL)
CONS
INFO
IO
SYS
,COMMAND=DISPLAY ,CONDPURG=No ,COPY=No ,HOLD=No
EXECUTE Yes Yes Yes
IGNORE
VERIFY
,IEFUJP=No ,IEFUSO=No ,JOURNAL=No ,LOG=No
Yes Yes Yes Yes
,MODE=JES ,MSGCLASS=msgclass
WLM
Notes:
1 See JES2 Commands Common Syntax Elements on page 6. (Optional for $D.)
$T, $D JOBDEF
$TJOBDEF!
$D $D ONLY Keywords $T ONLY Keywords
$D ONLY Keywords:
,ACCTFLD ,CNVT_ENQ ,DUPL_JOB ,JCLERR ,JNUMWARN ,JOBNUM
,JOBWARN ,PRTYHIGH ,PRTYJECL ,PRTYJOB ,PRTYLOW=nn ,PRTYRATE
,RANGE ,RASSIGN
$T Only Keywords:
,ACCTFLD=IGNORE ,CNVT_ENQ=WAIT ,DUPL_JOB=DELAY
OPTIONAL FAIL NODELAY
REQUIRED
,JCLERR=No ,JNUMWARN =nnn ,JOBNUM=nnnnn ,JOBWARN =nnn
Yes
,PRTYHIGH =nn ,PRTYJECL =No ,PRTYJOB =No ,PRTYLOW = nn
Yes Yes
,PRTYRATE = nnnn ,RANGE = nnnnn ,RASSIGN =No
(nnnnn) Yes
,mmmmm
Note:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D).
Note:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D).
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
,FSS=accccccc ,JOBname=jobname ,LIMit=m ,Mark=
(m) No
,n Yes
,MODE=FSS ,NEWPAGE=ALL ,NPRO=tttt ,Pause=
JES DEFAULT No
1 Yes
,PLIM=m ,PRESELCT=No ,PRMode=mode
(m) Yes ,
,n
( (5) )
mode
,Routecde=routecde ,Sep= ,SEPCHARS=CURRENT
, No DEFAULT
)
( Yes
routecde
,SEPDS= ,SETUP=HALT ,TRace=No ,TRANS=DEFAULT
No NOHALT P No
Yes Yes Yes
,TRKCELL=No ,T=id ,UCSVerfy=No ,UNIT=devnum
Yes UCS Yes
,Volume=volume ,Writer=writer ,WS=ws
, ,
)
( ws)
(
volume
Notes:
1 See JES2 Commands Common Syntax Elements on page 6.
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
Notes:
1 See JES2 Commands Common Syntax Elements on page 6.
Note:
1 sysaff can be coded up to 33 times.
Notes:
1 See JES2 Commands Common Syntax Elements on page 6.
Note:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D).
$ADD, $T RMT
(1) !
$ADDRMT Numeric
$T $ADD and $T Keywords
$ADD and $T Keywords:
,Autolog=No ,BLOCK=No ,BUFEXPAN=X ,BUFSIZE=bufsize
Yes Yes 1
2
,COMPACT=No ,COMPRESS=No ,CONDEST=condest ,CONS=No
Yes Yes Yes
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
Note:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D).
$D, $T PCE
$DPCE
$T Identifier Common Selection limiting keywords
$D Only - Display limiting keywords
!
$D Only - Selection limiting keywords $T Only - Modification keywords
$T Only - Modification keywords:
,TRace=No
P
Yes
$D Only - Display limiting keywords:
,ACTive ,Allocated ,COUNT ,Defined ,DESC
,
Allocated)
=(
Defined
Ended
,DETails ,Ended ,LONG ,TRace
$D Only - Selection limiting keywords:
,
,COUNT=(Allocated=allocated)
/ / =
>
<
Defined=defined
/ =
>
<
Ended=ended
/ =
>
<
Common Selection limiting keywords:
,ACTive=active ,Allocated=allocated
/ = / =
> >
< <
,Defined=defined ,Ended=ended
/ = / =
> >
< <
Note:
1 See JES2 Commands Common Syntax Elements on page 6
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
$D NETACCT
$DNETACCT!
Display Limiting Keywords Selection Limiting Keywords
Display Limiting Keywords:
,JACCT ,JTHRU ,NACCT ,TYPE
Selection Limiting Keywords:
,JTHRU =jthru ,JACCT =jacct
/ = / =
> >
< <
,NACCT =nacct ,NTHRU =nthru
/ = / =
> >
< <
,TYPE =type
/ =
>
<
$D, $T NODE
(1)
$DNODE Identifier
$T Selection limiting keywords
!
$D ONLY Display limiting keywords $T ONLY Modification keywords
$D ONLY Display limiting keywords:
Note:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D).
Notes:
1 Use for only $T ESTIME.
$D, $T JOBPRTY
(1) JOBPRTY!
$D Numeric
$T $D Options Only $T Options Only
$D Options Only:
,PRIORITY ,TIME
$T Options Only:
,PRIORITY=nn ,TIME=nnnnn
Note:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D).
Notes:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D).
2 $D only.
$D, $T SPOOLDEF
$DSPOOLDEF!
$T $D Only Parameters $T Only Parameters
$D Only Parameters:
| ,BUFSIZE ,DSNAME ,FENCE=()
| Active=Yes
| No VOLUMES=nnn
,LASTSVAL ,SPOOLNUM ,TGSIZE ,TGSPACE ,TRKCELL
,
ACTIVE)
=(
DEFINED
FREE
MAX
PERCENT
WARN
,Volume
$T Only Parameters:
| ,FENCE=() ,SPOOLNUM=nnn ,TGSIZE=nnnn
| Active=Yes
| No VOLUMES=nnn
,TGSPACE
,
MAX=nnnnnnnn)
=(
WARN=nnn
Note:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D).
$D Transmitter/Receivers
$D L.JR!
(1)
Numeric (1) .JR Selection UNIT=
Numeric
.JT
(1) .JT Selection
Numeric
.SR
(1) .SR Selection
Numeric
.ST
(1) .ST Selection
Numeric
.JR Selection:
,HOLD ,UNIT HOLD=
.JT Selection:
,LIMit ,UNIT ,WS
.SR Selection:
,UNIT
.ST Selection:
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
$G Commands
$GANnnnn
C name
D destid
H
R
,'jobname'
$GR OUT or XEQ Options Only ,D=LOCAL
ANYLOCAL
Nnnnn
nodename
destid
Nnnnn.Rmmmm
Ummmm
node.remote
.destid
remote
!
General Options $GC Options Only
$GD Options Only
$GC Options Only:
,Dump ,Purge
$GD Options Only:
(1)
L=
General Options:
,J ,O=LOCAL
,JOBn ANYLOCAL
,S Nnnnn
,STCn nodename
,T destid
,TSUn
$GR OUT or XEQ Options Only:
,OUT
,XEQ
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
Note:
1 SeeJES2 Commands Common Syntax Elements on page 6 .
Note:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D, $S,
$Z).
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
Notes:
1 See JES2 Commands Common Syntax Elements on page 6.
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
Notes:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D).
Note:
1 See JES2 Commands Common Syntax Elements on page 6.
Note:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D).
Dest=
/ =
Routecde=routecde
/ =
>
<
$PO Only:
Dest=routecde
/ =
Routecde >
/ <
$DO Only Display Limiting Keywords:
,ALL ,Burst ,CRTIME ,Age ,C ,FLash
DAys FCB O
,Forms ,HELD ,HOLDRC ,NDISP ,OUTGrp ,PAGEs ,PRMode
OUTDisp
,READY ,RECords ,Dest ,SECLABEL ,TSOavail ,T
Routecde UCS
,Writer ,CMDauth ,HOLD ,Hours ,JM ,LONG ,OFFS
JOBMASK
,Priority ,Queue ,REBUILD ,STATus ,USERID
$DO Only Selection Limiting Keywords:
Common Part 1
,ALL $DO, $TO COMMON Selection Limiting Keywords
/
$DO, $TO COMMON Selection Limiting Keywords:
(3) Burst=No ,
, (3) C=fcb
/ = Yes / =
(3) FCB >
/ <
(3) FLash=flash ,
, (3) Forms=forms
/ = / =
(3) O >
>
/ < <
(3) NDISP=H ,OUTGrp=outgrp
,
/ = HOLD / =
(3) OUTDisp
K
/ KEEP
L
LEAVE
P
PURGE
W
WRITE
(3) PRMode=prmode
,PAGEs=pages ,
/ = / =
> >
< <
(3) Queue=queue ,READY ,RECords=records
,
/ = / / =
>
<
(3) Dest=routecde ,TSOavail=No
,
/ = / = Yes
(3) Routecde=
/ =
>
<
(3) T=ucs ,
, (3) Writer=writer
/ = / =
(3) UCS >
>
/ < <
,USERID=userid ,SECLABEL=seclabel
/ = / =
> >
< <
(3) Priority=priority
,
/ =
>
<
$TO Only Selection Limiting Keywords:
$DO, $TO COMMON Selection Limiting Keywords ,Age>days
/ <
DAys
/
,JM=jobmask
/ =
JOBMASK >
/ <
$TO Only Modification Keywords:
,Queue=CNV
/ = INPUT
OUT
PPU
PURGE
RCV
SETUP
SPIN
XEQ
XMT
Common Part 3:
,
%>percent)
,SPL=(
/ / <
SPOOL Percent
/ /
Tgs>tgs
/ <
Volumes=volume
/ = ,
volume
( (5) )
,TYPE=JOB ,XEQNode=xeqnode
/ = STC / =
TSU
$ Job Commands
$AJob
(1)
$C JOBQ Identifier
$D JQ
$E Stc
$H Tsu
| $L
$O
$P
$T
$SJob
!
$A, $E, or $H ONLY Keywords $E Only Keywords
$P Only Keywords
$C ONLY Modification Keywords $C ONLY Selection Limiting Keywords
$O ONLY Keywords
$T Only Modification Keywords $T Only Selection Limiting Keywords
$D Only Modification Keywords $D Only Selection Limiting Keywords
$A, $E, or $H ONLY Keywords:
Common Part 1 Common Part 2 Common Part 3
$E Only Keywords:
,CANCEL
$P Only Keywords:
,Protected
$C ONLY Modification Keywords:
Common Part 1 Common Part 2 Common Part 3
,Purge
$C ONLY Selection Limiting Keywords:
Common Part 1 Common Part 2 Common Part 3 ARMRESTARTDump
/ /
PROTected
/
$O ONLY Keywords:
Common Part 1 Common Part 3 ,ALL,HELD
/ /
,PROTected
,PAGES=pages / ,OUTGrp=outgrp
/ = / =
>
<
,Queue=queue ,RECORDS=records
/ = / =
>
<
,SRVCLASS=srvclass ,Sysaff=member
,
member
( (3) )
Common Part 1:
$L Only Selection Limiting Keywords ,Age>days
/ <
DAys
/
,Hours>hours ,REBUILD=No
/ < / = Yes
Common Part 2:
,Queue=CNV
/ = INPUT
OUT
PPU
PURGE
RCV
SETUP
SPIN
XEQ
XMT
Common Part 3:
,
%>percent)
,SPL=(
/ / <
SPOOL Percent
/ /
Tgs>tgs
/ <
Volumes=volume
/ = ,
volume
( (5) )
,TYPE=JOB ,XEQNode=xeqnode
/ = STC / =
TSU
Notes:
1 See JES2 Commands Common Syntax Elements on page 6.
IBM may not offer the products, services, or features discussed in this document in
other countries. Consult your local IBM representative for information on the products
and services currently available in your area. Any reference to an IBM product,
program, or service is not intended to state or imply that only that IBM product,
program, or service may be used. Any functionally equivalent product, program, or
service that does not infringe any IBM intellectual property right may be used instead.
However, it is the user's responsibility to evaluate and verify the operation of any
non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter described
in this document. The furnishing of this document does not give you any license to
these patents. You can send license inquiries, in writing, to:
For license inquiries regarding double-byte (DBCS) information, contact the IBM
Intellectual Property Department in your country or send inquiries, in writing, to:
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law: INTERNATIONAL
BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION AS IS
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT,
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do
not allow disclaimer of express or implied warranties in certain transactions, therefore,
this statement may not apply to you.
Any references in this information to non-IBM Web sites are provided for convenience
only and do not in any manner serve as an endorsement of those Web sites. The
IBM may use or distribute any of the information you supply in any way it believes
appropriate without incurring any obligation to you.
Licensees of this program who wish to have information about it for the purpose of
enabling: (i) the exchange of information between independently created programs and
other programs (including this one) and (ii) the mutual use of the information which has
been exchanged, should contact:
IBM Corporation
Mail Station P300
2455 South Road
Poughkeepsie, NY 12601-5400
USA
Attention: Information Request
The licensed program described in this information and all licensed material available
for it are provided by IBM under terms of the IBM Customer Agreement, IBM
International Program License Agreement, or any equivalent agreement between us.
If you are viewing this information softcopy, the photographs and color illustrations may
not appear.
Other company, product, and service names may be trademarks or service marks of
others.
Appendix A. Notices 59
Communicating Your Comments to IBM
OS/390
JES2 Commands Summary
Publication No. GX22-0041-06
If you especially like or dislike anything about this book, please use one of the methods
listed below to send your comments to IBM. Whichever method you choose, make
sure you send your name, address, and telephone number if you would like a reply.
When you send comments to IBM, you grant IBM a nonexclusive right to use or
distribute your comments in any way it believes appropriate without incurring any
obligation to you.
If you are mailing a reader's comment form (RCF) from a country other than the United
States, you can give the RCF to the local IBM branch office or IBM representative for
postage-paid mailing.
If you prefer to send comments by mail, use the RCF at the back of this book.
If you prefer to send comments by FAX, use this number:
FAX: (International Access Code)+1+845+432-9405
If you prefer to send comments electronically, use one of these network IDs:
Internet e-mail: [email protected]
World Wide Web: http://www.ibm.com/s390/os390/webqs.html
Optionally, if you include your telephone number, we will be able to respond to your
comments by phone.
Reader's Comments We'd Like to Hear from You
OS/390
JES2 Commands Summary
Publication No. GX22-0041-06
You may use this form to communicate your comments about this publication, its organization, or
subject matter, with the understanding that IBM may use or distribute whatever information you supply
in any way it believes appropriate without incurring any obligation to you. Your comments will be sent
to the author's department for whatever review and action, if any, are deemed appropriate.
Note: Copies of IBM publications are not stocked at the location to which this form is addressed.
Please direct any requests for copies of publications, or for assistance in using your IBM system, to
your IBM representative or to the IBM branch office serving your locality.
Today's date:
Newsletter number of latest Technical Newsletter (if any) concerning this publication:
Is there anything you especially like or dislike about the organization, presentation, or writing in this
manual? Helpful comments include general usefulness of the book; possible additions, deletions, and
clarifications; specific errors and omissions.
Page Number: Comment:
Name Address
Company or Organization
Phone No.
Cut or Fold
Reader's Comments We'd Like to Hear from You
IBM
Along Line
GX22-0041-06
NO POSTAGE
NECESSARY
IF MAILED IN THE
UNITED STATES
IBM Corporation
Department 55JA, Mail Station P384
2455 South Road
Poughkeepsie, NY 12601-5400
Cut or Fold
GX22-0041-06 Along Line
IBM
GX22-XX41-X6