0% found this document useful (0 votes)
426 views74 pages

JES Command Overview

jes

Uploaded by

db manish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
426 views74 pages

JES Command Overview

jes

Uploaded by

db manish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 74

OS/390 IBM

JES2 Commands Summary

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.

Seventh Edition, September 2000

This is a major revision of GX22004105.

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

FAX (United States & Canada): 1+845+432-9405


FAX (Other Countries):
Your International Access Code +1+845+432-9405

IBMLink (United States customers only): IBMUSM10(MHVRCFS)


Internet e-mail: [email protected]
World Wide Web: http://www.ibm.com/s390/os390/webqs.html

If you would like a reply, be sure to include your name, address, telephone number, or FAX number.

Make sure to include the following in your comment or note:


 Title and order number of this book
 Page number or topic related to your comment

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.

Who This Book Is For


This book is intended for use by a system console operator who controls JES2 on a
system running under MVS. This book assumes that the user understands the
hardware controls and features of the installation. It also assumes that the user
understands the general organization and functions of a system.

Determining If a Publication Is Current


As needed, IBM updates its publications with new and changed information. For a given
publication, updates to the hardcopy and associated BookManager softcopy are usually
available at the same time. Sometimes, however, the updates to hardcopy and softcopy
are available at different times. Here's how to determine if you are looking at the most
current copy of a publication:
1. At the end of a publication's order number there is a dash followed by two digits,
often referred to as the dash level. A publication with a higher dash level is more
current than one with a lower dash level. For example, in the publication order
number GC28-1747-07, the dash level 07 means that the publication is more
current than previous levels, such as 05 or 04.
2. If a hardcopy publication and a softcopy publication have the same dash level, it is
possible that the softcopy publication is more current than the hardcopy publication.
Check the dates shown in the Summary of Changes. The softcopy publication
might have a more recently dated Summary of Changes than the hardcopy
publication.
3. To compare softcopy publications, you can check the last two characters of the
publication's filename (also called the book name). The higher the number, the
more recent the publication. Also, next to the publication titles in the CD-ROM
booklet and the readme files, there is an asterisk that indicates whether a
publication is new or changed.

Copyright IBM Corp. 1998, 2000 iii


iv OS/390 V2R10 JES2 Commands Summary
Summary of Changes
| Summary of Changes
| for GX22-0041-06
| OS/390 Version 2 Release 10

| This book is a major revision of OS/390 JES2 Commands Summary, GX22-0041-05.


| This book supports OS/390 Version 2 Release 10. The syntax of each JES2 command
| is documented without parameter descriptions. See OS/390 JES2 Commands for
| explanations of each JES2 command parameter.

| 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.

Copyright IBM Corp. 1998, 2000 v


| $S SPOOL
| SYSAFF= has been added to the syntax diagram.

| $TO Job Output Command


| NDISP keyword has been removed from the syntax diagram.

| 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.

| This book includes terminology, maintenance, and editorial changes. Technical


| changes or additions to the text and illustrations are indicated by a vertical line to the
| left of the change.

Summary of Changes
for GX22-0041-05
OS/390 Version 2 Release 9

This book is a major revision of OS/390 JES2 Commands Summary, GX22-0041-04.


This book supports OS/390 Version 2 Release 9. The syntax of each JES2 command is
documented without parameter descriptions. See OS/390 JES2 Commands for
explanations of each JES2 command parameter.

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.

$O PAGES and RECORDS have been added to the syntax diagrams.

$T PRTnnnn
FSATRACE has been added to the syntax diagram.

$T Job
SCHENV has been added to the Selection Limiting Keywords syntax diagram.

This book includes terminology, maintenance, and editorial changes. Technical

vi OS/390 V2R10 JES2 Commands Summary


changes or additions to the text and illustrations are indicated by a vertical line to the
left of the change.

Summary of Changes
for GX22-0041-04
OS/390 Version 2 Release 7

This book is a major revision of OS/390 JES2 Commands Summary, GX22-0041-03.


This book contains no "new" JES2 command information and still supports OS/390
Version 1 Releases 1-3 and Version 2 Releases 4-6. The syntax of each JES2
command is documented without parameter descriptions. See OS/390 JES2
Commands for explanations of each JES2 command parameter.

This book includes terminology, maintenance, and editorial changes. Technical


changes or additions to the text and illustrations are indicated by a vertical line to the
left of the change.

Summary of Changes
for GX22-0041-03
OS/390 Version 2 Release 6

This book is a major revision of OS/390 JES2 Commands Summary, GX22-0041-02.


This book contains no "new" JES2 command information and still supports OS/390
Version 1 Releases 1-3 and Version 2 Release 4. All JES2 commands are documented
in the railroad track syntax form and are consolidated in an effort to reduce the size of
the publication and to provide quicker lookup of commands. An easy-to-use table of
contents points to each command syntax. The syntax of each JES2 command is
documented without parameter descriptions. See OS/390 JES2 Commands for
explanations of each JES2 command parameter.

Summary of Changes vii


viii OS/390 V2R10 JES2 Commands Summary
Chapter 1. JES2 Commands Summary

Command Function Page


$A A Release all jobs 34
$A job Release specified jobs 50
$ADD CONNECT Add static network connections 15
$ADD APPL Define a new JES2 application 32
$ADD DEStid Define a symbolic destination name 16
$ADD FSS Define a new functional subsystem to JES2 21
$ADD LINE(nnn) Define a RJE line 17
$ADD LOGON(n) Define the JES2/VTAM interface 22
$ADD PRTnnnn Define a local printer 22
$ADD RMT(nnnn) Define an RJE workstation 31
$B PRTnnnn Rnnnn.PRm Backspace printer output 34
$B PUNnn Rnnnn.PUm Backspace punch output 35
$C A Cancel automatic commands 6
$C job Cancel a job 50
$C L(nnnn).dd(n) Cancel NJE device activity 35
$C O job Cancel output groups 46
$C OFFn.dd Cancel a spool offload device 35
$C PRTnnnn Rnnnn.PRm Cancel printer output 35
$C PUNnn Rnnnn.PUm Cancel punch output 35
$C RDRnn Rnnnn.RDm Cancel reader activity 35
$D A Display information about active jobs 6
$D ACTRMT Display active RJE workstations in a MAS 17
$D APPL Define a new JES2 application 32
$D BUFDEF Display local buffers 12
$D CKPTDEF Display the checkpoint definition 14
$D CKPTSPACE Display amount of checkpoint space 7
$D COMPACT Display compaction tables 7
$D CONDEF Display console communication characteristics 8
$D CONNECT Display network connectons that are defined to JES2 15
$D DESTDEF Display symbolic destination displays 8
$D F Display the job output forms queue 10
$D FSS Display functional sybsystem characteristics 21
$D I Display initiator information 41
$D job Display information about specified jobs 50
$D JOBCLASS(n) Display information about the job class characteristics 18
$D JOBPRTY(n) Specify the JES2 job scheduling priority 37
$D LOADMOD Display load module information 45
$D Line Display a line. 54
$D M Display message or send message to job's job log 41
$D MASDEF Display characteristics of the MAS 15

Copyright IBM Corp. 1998, 2000 1


Command Function Page
$D MEMBER Display the status of MAS members 39
$D MODULE Display module information 34
$D N Display job queue information 45
$D NETACCT Display networking acount numbers 35
$D NJEDEF Display the JES2 network environment 11
$D NODE Display node characteristics 35
$D O job Display information about specified output groups 46
$D OFF(n).JR Display offload job receiver characteristics 44
$D OFF(n).JT Display offload job transmitter characteristics 44
$D OFF(n).SR Display offload SYSOUT receiver characteristics 44
$D OFF(n).ST Display offload SYSOUT transmitter characteristics 44
$D OPTSDEF Display start option definitions 8
$D OUTCLASS(n) Display SYSOUT class characteristics output classes 10
$D OUTDEF Display JES2 job output characteristics 8
$D OUTPRTY(n) Display JES2 output scheduling priority 46
$D PATH Display paths from node to node 31
$D PCE Display tracing status for JES2 processors 33
$D PCEDEF Display JES2 PCE definitions 8
$D PRINTDEF Display JES2 printer characteristics 8
$D PRT Rnnnn.PRTm Display printers 22
$D PUNnn Rnnnn.PUm Display punches 29
$D PUNCHDEF Display JES2 punch characteristics 8
$D Q Display the number of jobs queued 7
$D R(n).CON Display specified remote console 16
$D RDI Display status of internal reader 25
$D RDRnn Rnnnn.RDm Display a reader 25
$D REBLD Display jobs on the rebuild queue 8
$D RECVopts Display JES2 recovery options 8
$D REDIRECT Display Redirect responses 31
$D SMFDEF Display SMF buffers 8
$D SPOOL Display spool volume usage 12
$D SPOOLDEF Dsiplay the JES2 spooling environment 38
$D SSI Display subsystem interface function information 21
$D SUBNET Display subnets and node names 8
$D SUBTDEF Display JES2 subtask definitions 8
$D TPDEF Display JES2 teleprocessing characteristics 12
$D TRACEDEF Display the JES2 trace environment chatacteristics 8
$D U Display the status of all JES2 devices 17
$D U,LINEn $D NODE Display node attributes 35
$DEL CONNECT Delete static connections 15
$DEL DEStid Delete a symbolic destination name 16
$E CKPTLOCK Reset the checkpoint lock 14
$E job Restart a currently executing job 50
$E L(nnnn).dd(n) Restart NJE device activity 35
$E LINE(nnn) Restart RJE line activity 17
$E LOGON(n) Restart the JES2/VTAM interface 22
$E MEMBER Restart jobs from a failed member 39

2 OS/390 V2R10 JES2 Commands Summary


Command Function Page
$E OFFn.JT OFFn.ST Restart an offload transmitter 35
$E PRTnnnn Rnnnn.PRm Restart printer activity 34
$E PUNnn Rnnnn.PUm Restart punch activity 35
$F PRTnnnn Rnnnn.PRm Advance printer output 34
$F PUnn Rnnnn.PUm Advance punch output 35
$G A Release a job at another node 40
$G C Cancel a job at another node 40
$G D Display infromation for a job at another node 40
$G H Hold a job at another node 40
$G R Request another node to route a job for execution 40
$G R Request another node to route job output 40
$H A Hold all jobs 34
$H job Hold specified jobs 50
$I PRTnnnn Rnnnn.Pm Interrupt printer activity 34
$I PUNnn Rnnnn.PUm Interrupt punch activity 35
$L job Display count of output group information 46
$Mnn Send Commands to Other MAS Members 54
$Nnnnn Send Commands through the Network 54
$N PRTnnnn Rnnnn.PRm Repeat printer output 34
$N PUNnn Rnnnn.PUm Repeat punch output 35
$O Release or cancel held output data sets 50
$P Stop JES2 processing 41
$P I Stop an initiator 41
$P JES2 Withdraw JES2 from the system 41
$P job Purge a job 50
$P L(nnnn).dd(n) Stop an NJE device 35
$P LINE(nnn) Stop an RJE line 17
$P LOGON(n) Stop the JES2/VTAM interface 22
$P O job Cancel output groups 46
$P OFFn.dd Drain an offload transmitter/receiver 35
$P OFFLOADn Drain an offload device 43
$P PRTnnnn Rnnnn.PRm Stop a printer 35
$P PUNnn Rnnnn.PUm Stop a punch 35
$P RDRnn Rnnnn.RDm Stop a reader 35
$P RMT(nnnn) Disconnect an RJE workstaiton 42
$P SPOOL Drain a spool volume 41
$P TRACE(n) Deactivate trace identifiers 42
$P XEQ Stop initiation of batch jobs into execution 41
$R,D= Route job output 11
$R XEQ Route specified jobs for execution 11
$S Start JES2 processing 41
$S A Start automatic command processing 41
$S I Start an initiator 41
$S job Initiate a batch job into execution 41
$S L(nnnn).dd(n) Start an NJE device 35
$S LINE(nnn) Start an RJE line 17
$S LOGON(n) Start the JES2/VTAM interface 22

Chapter 1. JES2 Commands Summary 3


Command Function Page
$S N Start an SNA applicaton-to-application session with another node 41
$S N,LINExx Establish an NJE connection with an adjacent node 41
$S OFFn.dd Start an offload transmitter/receiver 35
$S OFFLOAD Start an offload device 43
$S PRTnnnn Rnnnn.PRm Start a printer 35
$S PUNnn Rnnnn.PUm Start a punch 35
$S RDRnn Rnnnn.RDm Start a reader 35
$S RMT(nnnn) Automatically connect an SNA RJE workstation 42
$S Spool Start a spool volume 41
$S TRACE(n) Activate a trace identifier 42
$S XEQ Start initiation of batch jobs into execution 41
$T A Display, specifiy, and modify automatic commands 6
$T APPL Change an application's characteristics 32
$T BUFDEF Modify local buffers 12
$T CKPTDEF Control the checkpoint definition 14
$T CKPTSPACE Control amount of checkpoint space 7
$T CONDEF Control console communication characteristics 9
$T CONNECT Change static network connections that were prevously defined 15
$T DEBUG Control the JES2 debug option 13
$T DESTDEF Control symbolic destination displays 9
$T DEStid Change the route code associated with a symbolic destination name 16
$T ESTBYTE Specify estimated amount of spool space needed for job output 37
$T ESTLNCT Specify the estimated printline count for job output 37
$T ESTPAGE Specify the estimated page count for job output 37
$T ESTPUN Specify the estiate number of punched cards for job output 37
$T ESTIME Specify the estimated execution time for jobs 37
$T EXIT(nnn) Specify JES2 Exits 38
$T FSS Change a functional subsystem's characteristics 21
$T I Assign initiator classes 41
$T INTRDR Control internal readers 28
$T job Change a job's class, scheduling priority, or member affinity 50
$T JOBCLASS(n) Set job class characteristics 18
$T JOBCLASS(n) Specify an XBM procedure to be used for jobs in a selected class 18
$T JOBCLASS(n) Release job queues 18
$T JOBCLASS(n) Hold Job Queues 18
$T JOBDEF Specify the JES2 job characteristics 20
$T L(nnnn).dd(n) Control work selection on an NJE device 43
$T LINE(nnn) Disconnect RJE line, assign password, or diagnose RJE problems 17
$T LOGON(n) Assign password to the JES2/VTAM, diagnose SNA problems 22
$T MASDEF Control the MAS environment 15
$T MEMBER Change a member's operational mode 39
$T NJEDEF Specify the JES2 network environment 11
$T NODE Change node characteristics 35
$T NUM Set the JES2 internal job numbers 9
$T O job Set output characteristics 46
$T OFF(n).JR Specify offload job receiver characteristics 44
$T OFF(n).JT Specify offload job transmitter characteristics 44

4 OS/390 V2R10 JES2 Commands Summary


Command Function Page
$T OFF(n).SR Specify offload SYSOUT receiver characteristics 44
$T OFF(n).ST Specify offload SYSOUT transmitter characteristics 44
$T OUTCLASS(n) Set SYSOUT class characteristics output classes 10
$T OUTDEF Specify JES2 job output characteristics 9
$T OUTPRTY(n) Specify JES2 output scheduling priority 46
$T PCE Trace all JES2 processors of a given type (start/stop tracing) 33
$T PRINTDEF Specify JES2 printer characteristics 9
$T PRTnnnn Rnnnn.PRm Specify printer characteristics and options 22
$T PUNnn Rnnnn.PUm Specify punch characteristics and options 29
$T RDRnn Rnnnn.RDm Assign reader characteristics, hold all jobs, and control tracing 27
$T RECVopts Control JES2 recovery options 9
$T REDIRECT Redirect responses to commands entered at the entry console 31
$T RMT(nnnn) Set an RJE workstation's characteristics 31
$T SMFDEF Modify SMF buffers 9
| $T SPOOL Modify a Spool Volume 56
$T SPOOLDEF Control the JES2 spooling environment 38
$T SSI(n) Control subsystem interface function tracing 21
$T TPDEF Specify JES2 teleprocessing characteriestics 12
$T TRACEDEF Specify the JES2 trace environment chatacteristics 9
$VS Enter MVS system commands through JES2 53
$Z A Halt automatic command processing 41
$Z I Halt an initiator 41
$Z OFFLOADn Halt an offload device 43
$Z PRTnnnn Rnnnnn.PRm Halt printer activity 35
$Z PUNnn Rnnnn.PUm Halt punch acitivity 35
$Z RDRnn Halt a reader 35
$Z SPOOL Halt a spool volume 41
| $ZAPJOB Remove Job Structure from Job Queue 56

Chapter 1. JES2 Commands Summary 5


JES2 Commands Common Syntax Elements
Many JES2 commands use the following elements in their syntax. Refer to these
elements as required when interpreting a command's syntax.

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'

$D A - Display Information About Active Jobs


$DA!
,J ,ALL ,V=volser L= (1)
JOB ,

,S ,memname(memname)
STC
,T
TSU
,X
XEQ
,D
DEV

Note:
1 See JES2 Commands Common Syntax Elements.

$T, $C A - Display, Specify, Modify, Cancel Automatic Commands


$TA!
$C $T ONLY Keywords $C ONLY Keywords
$T ONLY Keywords:
; ;
command',I=ssss,'command
,ALL,I=ssss,'command command'
,T=hh.mm ,T=hh.mm
;
command'
cccc,I=ssss,'command
,T=hh.mm

6 OS/390 V2R10 JES2 Commands Summary



(1)
L=
$C ONLY Keywords:
,ALL
cccc

Note:
1 See JES2 Commands Common Syntax Elements on page 6.

$D Q - Display the Number of Jobs Queued


$DQ,Q=CNVCLASS
,IND ,V=volser STC (1)
L=
,memname $
,ANY TSU
,ALL @
,IND 
XEQCLASS
STC
$
TSU
@

OUT
PPU
HOLD
XMTLOCAL
ANYLOCAL
Nnnnn
nodename
destid
!
(1)
Destination

Note:
1 See JES2 Commands Common Syntax Elements on page 6.

$D COMPACT - Display JES2 SNA NJE Application(s)


$DCOMPACT!
Selection limiting keywords Display limiting keywords
Display limiting keywords:

,CHARS ,NAME ,NUMBER
Selection limiting keywords:

,NAME=name ,NUMBER=number
/ = / =
> >
< <

$D, $T CKPTSPACE, Display/Control Amount of Space in the Checkpoint


$DCKPTSPACe!
$T $D CKPTSPACe keywords $T CKPTSPACe keywords
$T CKPTSPACe keywords:

,BERTNUM=bertnum ,BERTWARN=bertwarn
$D CKPTSPACe keywords:

Chapter 1. JES2 Commands Summary 7



,BERTFREE ,BERTNUM ,BERTWARN ,
,RECORDS=(CKPT1_MAX)
_
CKPT2 MAX
INUSE

$D PUNCHDEF, $D PRINTDEF, $D OPTSDEF, $D SMFDEF, $D CONDEF, $D


DESTDEF, $D TRACEDEF, $D SUBTDEF, $D SUBNET, $D REBLD, $D RECVopts,
$D PCEDEF
$D PUNCHDEF!
,CCWNUM ,DBLBUFR ,RDBLBUFR

$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!

8 OS/390 V2R10 JES2 Commands Summary


$D PCEDEF!
,CNVTNUM ,OUTNUM ,PSONUM ,PURGENUM ,SPINNUM ,STACKNUM

$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.

$T CONDEF, $T OUTDEF, $T TRACEDEF, $T DESTDEF, $T SMFDEF, $T


PRINTDEF, $T NUM, $T RECVopts
$TCONDEF CONDEF Keywords !
OUTDEF OUTDEF Keywords
TRACEDEF TRACEDEF Keywords
DESTDEF DESTDEF Keywords
SMFDEF SMFDEF Keywords
PRINTDEF PRINTDEF Keywords
NUM,BASE=nnnnn
RECVopts RECVopts Keywords
CONDEF Keywords:

,BUFNUM=nnnn ,BUFWARN=nnnn ,CMDNUM=nnnn ,CONCHAR=c ,DISPLEN=nnn

,DISPMAX=nnnnnnnnnn ,MASMSG=nnn ,RDIRAREA=c ,RDRCHAR=c
OUTDEF Keywords:

,BRODCAST=No ,COPIES=nnn ,JOENUM=nnnnnn ,JOEWARN=nnn
Yes

,OUTTIME=CREATE ,PRTYHIGH=nnn ,PRTYLOW=nnn ,PRTYOUT=No
UPDATE Yes

,PRYORATE=nnnn ,SEGLIM=nnnnn
TRACEDEF Keywords:

,ACTIVE=No , ,SPIN ,TABLES=nnnn
Yes ,LOG=(CLASS=c)
SIZE=nnnnnnnnnn
START=No
Yes

,TABWARN=nnn
DESTDEF Keywords:

,SHOWUSER=No
NOLOCAL
WITH
WITHLOCAL
SMFDEF Keywords:

,BUFWARN=bufwarn
PRINTDEF Keywords:

Chapter 1. JES2 Commands Summary 9



,LINECT=nnn ,NEWPAGE=ALL ,
1 LOCAL=DOUBLE)
,SEPPAGE=(
FULL
HALF
NONE
REMOTE=DOUBLE
FULL
HALF
NONE
RECVopts Keywords:

(1) ,COUNT ,INTERVAL
Value

Note:
1 See JES2 Commands Common Syntax Elements on page 6.

$T, $D OUTCLASS(n) - Set SYSOUT Class Characteristics


(1) 
$TOUTCLASS Identifier
$D $T OUTCLASS ONLY
!
$D Selection Limiting Keywords $D Display Limiting Keywords
$T OUTCLASS ONLY:

,OUTDisp= Option List
()
Option List , Option List
$D Selection Limiting Keywords:

,BLNKTrnc =No ,OUTPUT =DUMMY
/ = Yes / = PRINT
PUNCH

,TRKCELL =No
/ = Yes
$D Display Limiting Keywords:

,BLNKTrnc ,OUTDisp ,OUTPUT ,TRKCELL
Option List:
H
HOLD
K
KEEP
L
LEAVE
P
PURGE
W
WRITE

Note:
1 See JES2 Commands Common Syntax Elements on page 6.

$D F Display Output Forms


$D F!
(1) J= ,D=H L=
R= Destination (1)
HELD
A
ALL
J=:

10 OS/390 V2R10 JES2 Commands Summary


,J=JOBn -JOBm
STCn -STCm
TSUm -TSUm
'jobname'

Note:
1 See JES2 Commands Common Syntax Elements on page 6.

$R - Route Job Output, $R XEQ Route Specific Jobs for Execution


$R $R Options !
$R XEQ $R XEQ Options
$R Options:
(1) 
ALL J= ,D= Destination
(1)
,Q=C1(...C36) R= Destination
PRT
PUN

,
outdisp,)
,OUTDisp=(
J=:
,J=J
JOBn
JOBn -JOBm
S
STCn
STCn -STCm
T
TSUn
TSUn -TSUm
'jobname'
$R XEQ Options:
,J=J,R=LOCAL,D=LOCAL
JOBn ANYLOCAL ANYLOCAL
'jobname' Nnnnn Nnnnn
nodename nodename
destid destid

Note:
1 See JES2 Commands Common Syntax Elements on page 6.

$D, $T NJEDEF - Display/Control the JES2 Network Environment


$DNJEDEF!
$T $D ONLY Keywords $T ONLY Keywords
$D ONLY Keywords:

,DELAY ,HDRBUF ,JRNUM ,JTNUM ,LINENUM
,
=(FREE)
LIMIT
WARN

,MAILMSG ,MAXHOP ,NODENUM ,OWNNAME ,OWNNODE ,PATH ,RESTMAX

,RESTNODE ,RESTTOL ,SRNUM ,STNUM ,TIMEtol
$T ONLY Keywords:

,DELAY=nnn , ,MAILMSG=No ,MAXHOP=nnnn
LIMIT=nnnn)
,HDRBUF=( Yes
WARN=nnn

,RESTMAX=nnnnnnnn ,RESTNODE=nnnn ,RESTTOL=nnnn ,TIMEtol=nnnn

Chapter 1. JES2 Commands Summary 11


$D, $T TPDEF , $D, $T BUFDEF - Display/Control Current Teleprocessing
Characteristics, $D PCEDEF
$DTPDEF!
$D TPDEF ONLY Keywords
$TTPDEF
$T TPDEF ONLY Keywords
$TBUFDEF
Buffer Keywords
$DBUFDEF
Buffer Keywords $D Only Buffer Keywords
$D TPDEF ONLY Keywords:

,AUTOINTV ,AUTONUM ,BSCBUF
,
=(FREE)
LIMIT
SIZE
WARN

,SNABUF ,MBUFSIZE ,RMTMSG ,RMTNUM
,
FREE)
=(
LIMIT
SIZE
WARN

,SESSIONS
,
FREE)
=(
FROZEN
LIMIT
WARN
$T TPDEF ONLY Keywords:

,AUTOINTV=nnn Buffer Keywords ,RMTMSG=nnn

,
LIMIT=nnnn)
,SESSIONS=(
WARN=nnn
Buffer Keywords:

, ,
LIMIT=nnnn) ,BSCBUF=(
,SNABUF=( LIMIT=nnnn)
WARN=nnn WARN=nnn
$D Only Buffer Keywords:

, ,
FREE) ,BSCBUF=(
,SNABUF=( FREE)
LIMIT LIMIT
WARN WARN

$D SPOOL - Display the Status of Spool Volumes


$DSPL
(1)
SPOOL Identifier Selection limiting keywords
!
Display limiting keywords
Display limiting keywords:

| ,ALL ,AWAITING ,COMMAND ,Long ,PERCENT ,STATUS ,SYSAFF

12 OS/390 V2R10 JES2 Commands Summary



,TGINUSE ,TGNUM ,TRKPERTGB ,UNITDATA
,
EXTent)
=(
M
Recmax
TRKPERCYL
TRKrange
TTrange

,Volume
Selection limiting keywords:

,PERCENT =percent ,STATUS =ACTIVE
/ = / = DRAINING
> HALTING
< INACTIVE
STARTING

| ,SYSAFF=sysaff ,TGINUSE =tginuse
| / = / =
| > >
| < <

,TGNUM =tgnum ,TRKPERTGB =trkpertgb
/ = / =
> >
< <

,
EXTent =extent)
,UNITDATA=(
/ / =
M >
/ <
Recmax =recmax
/ =
>
<
TRKPERCYL =trkpercyl
/ =
>
<

,Volume =volser
/ =
>
<

Note:
1 See JES2 Commands Common Syntax Elements on page 6.

$T DEBUG - Set the JES2 DEBUG Option


$TDEBUG=Y!
N
(1)
DEBUG DEBUG Options
DEBUG Options:

APPLCOPY=YES ,CKPT=YES ,MISC=YES ,SECURITY=YES
NO NO NO NO

,STORAGE=YES ,VERSION=YES ,SYMREC=YES YES
NO NO NO ,BERT=NO

Note:
1 You can specify more than one parameter; you must specify at least one parameter.

Chapter 1. JES2 Commands Summary 13


$E CKPTLOCK, HELDBY - Reset the Checkpoint Lock
$ECKPTLOCK!
,HELDBY=memname
INITIALIZATION
INITI

$D, $T CKPTDEF - Display/Control the Checkpoint Definition


$DCKPTDEF!
$T $D ONLY Keywords $T ONLY Keywords
$D ONLY Keywords:

,APPLCOPY ,CKPT1 ,CKPT2
, ,
DSName)
=( DSName)
=(
INUSE INUSE
STRname STRname
VOLATILE VOLATILE
VOLser VOLser

,DUPLEX ,LOGSIZE ,MODE ,NEWCKPT1
,
DSName)
=(
STRname
VOLser

,NEWCKPT2 ,OPVERIFY ,RECONFIG
,
DSName)
=(
STRname
VOLser

,VERSIONS ,VOLATILE
, ,
MAXFAIL)
=( ALLCKPT)
=(
MAXUSED ONECKPT
NUMBER
NUMFAIL
STATUS
VERSFREE
WARN
$T ONLY Keywords:

,DUPLEX=OFF ,
ON DSName=dsname)
,NEWCKPT1=(
STRname=strname
VOLser=volser

, ,OPVERIFY=No ,RECONFIG=No
DSName=dsname)
,NEWCKPT2=( Yes Yes
STRname=strname
VOLser=volser

, ,
NUMBER=nn) ,VOLATILE=(
,VERSIONS=( ALLCKPT=DIALOG)
WARN=mmm IGNORE
WTOR
ONECKPT=DIALOG
IGNORE
WTOR

14 OS/390 V2R10 JES2 Commands Summary


$D, $T MASDEF - Display and Control the Multi-access Spool Environment
$DMASDEF!
$T $D ONLY Keywords $T ONLY Keywords
$D ONLY Keywords:

,AUTOEMEM ,CKPTLOCK ,COLDTIME ,COLDVRSN ,DORMANCY ,HOLD

,LOCKOUT ,OWNMEMB ,QREBUILD ,QUESHELD ,RESTART ,RSVHELD
OWNSID

,SHARED ,SYNCTOL ,WARMTIME ,XCFGRPNM L= (1)

$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.

$ADD, $DEL, $D, $T CONNECT


$ADDCONNect
$DEL ,MA=membera
$D /
$T MEMBA
/
MEMBERA
/

,MB=memberb ,NA =nodea
/ /
MEMBB NODEA
/ /
MEMBERB
/

,NB =nodeb $ADD and $T Only Keywords
/
NODEB
/
!
$D Only Display Limiting Keywords $D Only Selection Limiting Keywords
$ADD and $T Only Keywords:

,PATHMGR =No ,REST =rest
RESET
Yes
$D Only Display Limiting Keywords:

,CES ,MA ,MB ,NA
MEMBA MEMBB NODEA
MEMBERA MEMBERB

,NB ,PATHMGR ,PRIVATE ,REST ,STATE ,STATIC
NODEB

,STATUS ,TIME

Chapter 1. JES2 Commands Summary 15


$D Only Selection Limiting Keywords:

,PATHMGR =No ,PRIVATE =No
/ = RESET / = Yes
Yes

,REST =rest ,STATE = R
/ = / = EXTRA
> INUSE
< PENDING
RESTMAX
UNCONNECTED

,STATIC =No ,STATUS =ACTIVE
/ = Yes / = HELD
INACTIVE

$D R(n).CON
(1) .CON!
$DR Numeric
,STATUS
/

Note:
1 See JES2 Commands Common Syntax Elements on page 6.

$ADD, $D, $DEL, $T DESTID


(1) !
$ADD Common Destination
$DEL (2)
PRIMARY
$D Common
Display Limiting Keywords Selection Limiting Keywords
$T Common
Modification Keywords PRIMARY
Common:
(1)
DESTid Value
Display Limiting Keywords:

,DEST ,PRIMARY ,STATUS
Selection Limiting Keywords:

,STATUS =DESTID PRIMARY
/ = NODENAME
NODENAME+DESTID
Modification Keywords:

,PRIMARY=No ,DEST=nodename
Yes Nnnnn
PRIMARY:

,PRIMARY=No
/ Yes

Notes:
1 See JES2 Commands Common Syntax Elements on page 6.

2 $ADD only.

16 OS/390 V2R10 JES2 Commands Summary


$D ACTRMT
$DACTRMT!
(1)
Numeric (2) ,MEMBER
,MEMBER (3) =memnum
/ = memname

Notes:
1 See JES2 Commands Common Syntax Elements on page 6.

2 Display Limiting Keyword

3 Selection Limiting Keyword

$D U - Display the Status of JES2-Controlled Devices


$DU!
. ,ACTIVE
,ALL ,ACT

,LINEn ,LONG
,LNEn ,SHORT
,LNES ,SH
,LOGONn ,STARTED
,LGNn ,STAR
,LGNS
,OFFS
,PRTS
,PUNS
,RMT
,RMTS
,RMTn( -n)
-
,RDRS
,TP
,device

$ADD, $E, $P, $S, $T LINE


(1) 
$ADDLINE Numeric
$E LNE $ADD and $T Modification Keywords
$P
$S
$T
!
$T Only Selection Limiting Keywords $T Only Modification Keywords
$ADD and $T Modification Keywords:

,AUTODISC=No ,CODE=A ,COMPRESS=No ,DUPLEX=FULL
Yes B Yes HALF

,INTERFAC=A ,LINECCHR=EBCDIC ,LOG=No
B USASCII Yes

,Password=password ,REST=rest ,SPEED=HIGH ,TRaceio=No
LOW Yes

,TRANSPAR=No ,UNIT=SNA
Yes devnum
/devnum
$T Only Selection Limiting Keywords:

,AUTODISC =No ,CODE =A
/ = Yes / = B

Chapter 1. JES2 Commands Summary 17



,COMPRESS=No ,Discon =I
/ = Yes / = INTERRUPT
No
Q
QUIESCE

,DUPLEX =FULL ,INTERFAC =A
/ = HALF / = B

,LINECCHR =EBCDIC ,LOG=No
/ = USASCII / = Yes

,REST =nnnn ,SPEED =HIGH
/ = / = LOW
>
<

,TRaceio =No ,TRANSPAR =No
/ = Yes / = Yes

,UNIT =SNA
/ = devnum
> /devnum
<
$T Only Modification Keywords:

,Discon =I
/ = INTERRUPT
No
Q
QUIESCE

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

18 OS/390 V2R10 JES2 Commands Summary



,MSGLEVEL=statements
()
statements ,messages

,OUTDisp= OUTdisp List
()
OUTdisp List
, OUTdisp List

,OUTPUT=No ,PERFORM=perform ,PGMRNAME=No ,PROCLIB=proclib
Yes Yes

,QHELD=No ,SCHENV=schenv
Yes
OUTdisp List:
H
HOLD
K
KEEP
L
LEAVE
P
PURGE
W
WRITE
$D Only Display limiting keywords:

,ACCT ,AUTH ,BLP ,COMMAND ,CONDPURG ,COPY ,HOLD

,IEFUJP ,IEFUSO ,JOURNAL ,LOG ,MODE ,MSGCLASS ,MSGLEVEL

,NAME ,OUTDisp ,OUTPUT ,PERFORM ,PGMRNAME ,PROCLIB ,QHELD

,REGION ,RESTART ,SCAN ,SWA ,TIME ,TYPE26 ,TYPE6 ,XBM

,XEQCount
,
CURrent)
=(
MAXimum
Selection limiting keywords:

,ACCT =No ,BLP =No
/ = Yes / = Yes

,COPY =No ,HOLD =No
= Yes / = Yes
/

,IEFUJP =No ,IEFUSO=No
/ = Yes / = Yes

,JOURNAL =No ,LOG =No
/ = Yes / = Yes

,MODE =JES ,MSGLEVEL =statement
/ = WLM / =

,/NAME =name ,OUTPUT =No
= / = Yes
>
<

,PERFORM =perform ,PGMRNAME =No
/ = / = Yes
>
<

Chapter 1. JES2 Commands Summary 19



,PROCLIB =proclib ,QHELD =No
/ = / = Yes
>
<

,RESTART =No ,SCAN =No
/ = Yes / = Yes

,SCHENV=schenv ,SWA =ABOVE
/ = = BELOW
> /
<

,TIME =) ,TYPE26 =No
/ = / = Yes

,TYPE6 =No ,XBM =xbm
/ = Yes / =
>
<

,
/CURrent =current)
,/XEQCount=(
=
>
<
MAXimum =maximum
/ =
>
<

Notes:
1 See JES2 Commands Common Syntax Elements on page 6. (Optional for $D.)

2 auth can be coded up to 4 times.

$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

20 OS/390 V2R10 JES2 Commands Summary


$ADD, $T, $D FSS
(1) 
$ADDFSS Value
$T FSSDef $ADD and $T Modification Keywords
$D

$T and $D COMMON Keywords $D Only Display Limiting Keywords
!
$D Only Selection Limiting Keywords
$ADD and $T Modification Keywords:

,AUTOstop =No ,HASPFSSM =HASPFSSM ,PROC =accccccc
Yes accccccc
$T and $D COMMON Keywords:

,AUTOstop =No ,/HASPFSSM =accccccc
= Yes =
>
<

,/PROC =accccccc
=
>
<
$D Only Display Limiting Keywords:

| ,ASID ,AUTOstop ,FSSMADDR ,FSSMAPAR ,FSSMLENG ,FSSMPTF

| ,HASPFSSM ,LONG ,PROC
$D ONLY Selection Limiting Keywords:

,ASID =asid
/ =
>
<

Note:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D).

$D, $T, SSI


(1) 
$DSSI Numeric
$T Selection Limiting Keywords
!
$T Only Modification Keywords $D Only Display Limiting Keywords
Selection Limiting Keywords:

,TRace =No
/ = Yes
$T Only Modification Keywords:

,TRace =No
Yes
$D Only Display Limiting Keywords:

,ADDRess ,DESC ,MODULE ,TRace

Note:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D).

Chapter 1. JES2 Commands Summary 21


$ADD, $E, $T, $S, $P LOGON(n)
(1) 
$ADDLGN Numeric
$T LOGON $T Only Selection Limiting Keywords
$E
$S
$P
!
$ ADD and $T Only Modification Keywords
$T Only Selection Limiting Keywords:

,Applid =applid ,LOG =No
/ = / = Yes
>
<

,TRaceio =No
/ = Yes
$ADD and $ T Only Modification Keywords:

,Applid =applid ,LOG =No ,Password=password ,TRaceio =No
Yes Yes

Note:
1 See JES2 Commands Common Syntax Elements on page 6.

$ADD, $D, $T Printer (PRINTERnnnn, PRTnnnn, Rnnnn.PRnnnn)


(1) 
$TPRINTER Numeric
PRT
(1)
$TR Numeric .PR Numeric (1)
$DPRINTER
PRT Numeric (1) L=
(1)
$DR
(1)
Numeric .PR Numeric (1)
(1)
$ADDPRINTER Numeric
PRT $ADD Keywords

$D COMMON Display limiting keywords $D PRT Display limiting keywords

$D Rnnn.PRm Display limiting keywords Selection limiting keywords
!
$T Modification keywords
$D COMMON Display limiting keywords:

| ,ASID ,Burst ,CHAR ,CKPTLINE ,CKPTPAGE
X numeric

| ,CReator ,DEVFCB ,C ,Forms ,FSSINFO ,FSSMADDR
FCB

| ,FSSMAPAR ,FSSMLENG ,FSSMAPTF ,HASPFSSM ,JOBname ,LIMit

| ,LONG ,NAME ,NEWPAGE ,PRMode ,PROC ,CLass ,RANGE
Queue

,Routecde ,Sep ,SEPDS ,SETUP ,K ,STATUS ,TRace
SPACE

,TRANS ,T ,Volume ,Writer ,WS
UCS
$D PRT Display limiting keywords:

22 OS/390 V2R10 JES2 Commands Summary



,CKPTMODE ,CKPTPAGE ,CKPTSEC ,COPYMARK ,DEVFLASH ,FLASH
O

,FSS ,LASTFORM ,Mark ,MODE ,MODIFY ,NPRO ,Pause
Y

,PLIM ,PRESELCT ,SEPCHARS ,TRKCELL ,UCSVerfy ,UNIT
$D Rnnn.PRm Display limiting keywords:

,ASIS ,CCTL ,CMPCT ,COMPACTZ ,CReator ,EJECT ,FCBLOAD

,LRECL ,PRWIDTH ,SELECT ,SUSPEND
Selection limiting keywords:

,Burst =No ,CKPTMODE =PAGE
/ = Yes / = SEC

,COPYMARK =CONSTANT ,CReator =creator
/ = DATASET / =
DEFAULT >
JOB <
| NONE

,DEVFCB =devfcb ,DEVFLASH =devflash
/ = / =
> >
< <

,C =fcb ,FLASH =flash
/ = / =
FCB > O >
/ < / <

,Forms =form ,FSS =fss
/ = , / =
(form
(2) ) >
<

| ,/FSATRACE=Yes ,JOBname =jobname
| = No / =
>
<

,Mark = ,MODIFY =modify
/ = No / =
Yes Y >
/ <

,NEWPAGE =ALL ,Pause =
/ = DEFAULT / = No
1 Yes

,PRESELCT =No ,PRMode =prmode
/ = Yes / = ,

( (3) )
prmode

,CLass =queue
=
/ >
Queue <
/

,Routecde =routecde ,Sep =No
/ = , / = Yes
)
(
routecde

Chapter 1. JES2 Commands Summary 23



,SEPCHARS =CURRENT ,SEPDS =No
= DEFAULT / = Yes
/

,SETUP =HALT ,K =DOUBLE
/ = NOHALT / = R
SPACE RESET
/ SINGLE
TRIPLE
1
2
3

| ,STATUS=ACTIVE ,TRace =No
| / = / = P
Yes

,TRANS =DEFAULT ,TRKCELL =No
/ = No / = Yes
Yes

,T =ucs ,UCSVerfy =No
/ = / = Yes
UCS >
/ <

,UNIT =unit ,Writer =writer
/ = / =
> >
< <
$T Modification keywords:

(1) =char ,CKPTLINE =ckptline
,Burst =No ,CHAR Numeric
Yes X

,CKPTMODE =PAGE ,DEVFCB =devfcb ,C =fcb
SEC FCB

,/FSATRACE=Yes ,MODIFY=modify ,CLass =queue
= No Y Queue

,RANGE =low ,K =DOUBLE
(low) SPACE R
,high RESET
SINGLE
TRIPLE
1
2
3

PRINTER Common Keywords
$ADD Keywords:

,Burst=No ,CKPTLINE=nnnnn ,CKPTMODE=PAGE
Yes SEC

PRINTER Common Keywords ,DEVFCB=xxxx ,C=id
RESET FCB RESET
 PRINTER COMMON Keywords
, ,RANGE=J

,CLass=c (m)
Queue c ,n
S
(m)
,n
T
(m)
,n

24 OS/390 V2R10 JES2 Commands Summary


PRINTER Common Keywords:

,CKPTPAGE=nnnnn ,CKPTSEC=ttttt ,COPYMARK=CONSTANT ,CReator=jccccccc
DATASET
DEFAULT
JOB
| NONE

,DEVFLASH=name ,FLASH=name ,Forms=cccccccc
O ,
cccccccc
( (4) )


,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.

2 form can be coded up to 8 times.

3 prmode can be coded up to 8 times.

4 form can be coded up to 8 times.

5 prmode can be coded up to 8 times (mode1,mode2,...,mode8).

$D RDR(nn) and $D R(n).RD(m) - Display Command Authority for a Reader, $D


RDI
 $D READER ... !
$D R(n).RD(m)
$D R(n).RD(m):
$DR.RD
(1)
Numeric (1)
Numeric

$D R(n).RD(m) Selection limiting keywords

$D R(n).RD(m) Display limiting keywords
$D R(n).RD(m) Display limiting keywords:

Chapter 1. JES2 Commands Summary 25


Common Display Limiting Keywords
$D R(n).RD(m) Selection limiting keywords:
Common Selection Limiting Keywords
$D READER ...:
$DRDR
(1)
READER Numeric $D RDI Selection limiting Keywords
RDI

(1)
$D RDI Display limiting Keywords L=

$D RDR(nn) Selection limiting keywords

$D RDR(nn) Display limiting keywords
Common Display Limiting Keywords:

,Class ,Hold ,MSGclass ,PRIOINC ,PRIOLIM ,P
Q PRTDEST

,PUNDEST ,STATUS ,Sysaff ,TRace ,Xeqdest
U
$D RDR(nn) Display limiting keywords:

,Auth Common Display Limiting Keywords
,
Device)
=(
Job
System
$D RDR(nn) Selection limiting keywords:

, ,PRIOINC=prioinc
Device=No)
,Auth=( / =
/ / = Yes >
Job=No <
/ = Yes
System=No
/ = Yes

,PRIOLIM=priolim ,UNIT=unit
/ = / =
> >
< <
 Common Selection Limiting Keywords
Common Selection Limting Keywords:

,Class=class ,STATUS ,TRace=No
/ = / / = P
> Yes
<

,MSGclass=msgclass ,Hold=
/ = / = No
Q > Yes
/ <
$D RDI Selection limiting Keywords:

, ,TRace=No
Device=No)
,Auth=( / = P
/ / = Yes Yes
Job=No
/ = Yes
System=No
/ = Yes

26 OS/390 V2R10 JES2 Commands Summary



,MSGclass=msgclass ,Hold=
/ = / = No
Q > Yes
/ <

,Class=class ,PRTDEST=prtdest
/ = / =
>
<

,PUNDEST=pundest
/ =
$D RDI Display limiting Keywords:

,Auth ,Class ,Hold ,MSGclass ,OWNER
, Q
=(Device)
Job
System

,PRTDEST ,PUNDEST ,Sysaff ,TRace

Note:
1 See JES2 Commands Common Syntax Elements on page 6.

$T RDRnn and $T Rnnnn.RDm - Control a Reader


(1) 
$TRDR Numeric
READER Selection limiting keywords
!
Modification keywords
Modification keywords:

, ,Class=class ,Hold=
Device=No)
,Auth=( No
Yes Yes
Job=No
Yes
System=No
Yes

,MSGclass=v ,PRIOINC=n ,PRIOLIM=n
Q X 15

,P=prtdest ,PUNDEST=pundest
PRTDEST U

,Sysaff=ANY ,TRace=No ,UNIT=devnum
+ P /devnum
- Yes
IND
memname
R
,
 (2)
()
ANY
+
-
IND
memname
R

,Xeqdest=xeqdest
Selection limiting keywords:

Chapter 1. JES2 Commands Summary 27



, ,/Class=a
Device=No)
,Auth=( =
/ / = Yes >
Job=No <
/ = Yes
System=No
/ = Yes

,Hold= ,MSGclass=v
/ = No / =
Yes /Q >
<

,PRIOINC=n ,PRIOLIM=n
/ = X / = 15
> >
< <

,TRace=No ,UNIT=devnumunit
/ = P / = /devnum
Yes >
<

Notes:
1 See JES2 Commands Common Syntax Elements on page 6.

2 sysaff can be coded up to 33 times.

$T INTRDR - Control Internal Readers


$TINTRDR
$D $D Only Display limiting keywords
!
Selection limiting keywords $T Only Modification keywords
$D Only Display Limiting keywords:

, ,BATCH ,Class ,Hold ,HONORlim ,PRTYINC
Device)
,Auth=(
Job
System

,PRTYLIM ,Sysaff ,TRace
$T Only Modification keywords:

, ,Class=class ,Hold=No
Device=No)
,Auth=( Yes
Yes
Job=No
Yes
System=No
Yes

,HONORlim=No ,PRTYINC=n-n ,PRTYLIM=n-n
Yes

28 OS/390 V2R10 JES2 Commands Summary



,Sysaff=ANY ,TRace=No
+ P
- Yes
IND
memname

,
 (1)
()
ANY
+
-
IND
memname

Selection limiting keywords:

,
,Auth=(Device=No)
/ / = Yes
Job=No
/ = Yes
System=No
/ = Yes

Note:
1 sysaff can be coded up to 33 times.

$T, $D Punch (PUNCHnn, PUNnn, Rnnnn.PUm)


(1) 
$TPUN Numeric
PUNCH
(1) .PU Numeric
$TR Numeric (1)
$DPUN
PUNCH Numeric (1) L=
(1)
$DR.PU L= (1)
(1)
Numeric (1)
Numeric

$ D COMMON Display Limiting Keywords $ D PUNCH Display Limiting Keywords

$ D Rnnn.PUm Display Limiting Keywords Selection limiting keywords
!
$T Only Modification keywords
$D COMMON Display limiting keywords:

,CKPTLINE ,CKPTPAGE ,CReator ,Forms ,JOBname ,LIMit ,PRMode

,CLass ,RANGE ,Routecde ,Sep ,SEPDS ,SETUP ,STATUS
Queue

,TRace ,Volume ,Writer ,WS
$D PUNCH Display limiting keywords:

,Pause ,UNIT
$D Rnnn.PUm Display limiting keywords:

,CKPTLINE ,CCTL ,CMPCT ,COMPACT ,COMPress ,FLUSH
Z

,LRECL ,SELECT ,SUSPEND
$T Only Modification keywords:

,CKPTLINE =ckptline ,CKPTPAGE =ckptpage ,CReator =creator

Chapter 1. JES2 Commands Summary 29



,Forms =form ,JOBname =jobname ,LIMit =low
, (low)
form
( (2) ) , high

,Pause = ,PRMode =prmode ,CLass =queue
No , Queue
Yes 
( (3) )
prmode

,RANGE =low ,Routecde =routecde
(low) ,
,high )
(
routecde

,Sep = ,SEPDS = ,SETUP =HALT ,TRace =No
No No NOHALT P
Yes Yes Yes

,UNIT =unit ,Volume =volume ,Writer =writer
,
)
(
volume

,WS =ws
,
ws)
(
Selection Keywords:

,CReator =creator ,Forms =form
/ = / = ,
> form
( (2) )
<

,JOBname =jobname ,Pause =
/ = / = No
> Yes
<

,CLass =queue ,Sep =
/ = / = No
Queue > Yes
/ <

,SEPDS = ,SETUP =HALT
/ = No / = NOHALT
Yes

| ,STATUS=ACTIVE ,TRace =No
| / = / = P
Yes

,UNIT =unit ,Writer =writer
/ = / =
> >
< <

Notes:
1 See JES2 Commands Common Syntax Elements on page 6.

2 form can be coded up to 8 times.

3 prmode can be coded up to 8 times.

30 OS/390 V2R10 JES2 Commands Summary


$ADD, $T , $D REDIRECT, $D PATH
(1) 
$ADDREDIRect Identifier
$T $ADD and $T Only Keywords
$D
$DPATH
!
$D REDIRECT Only Keywords
$ADD and $T Only Keywords:

,DA=con_spec ,DCONNECT=con_spec ,DEF=con_spec ,DF=con_spec

,DI=con_spec ,DJ=con_spec ,DN=con_spec ,DNODE=con_spec
DS
DT

,DQ=con_spec ,DSPL=con_spec ,DU=con_spec ,LJ=con_spec
LS
LT
$D REDIRECT ONLY Keywords:

,DA ,DCONNECT ,DEF ,DF ,DI ,DJ ,DN ,DNODE
DS
DT

,DQ ,DSPL ,DU ,LJ
LS
LT

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

Chapter 1. JES2 Commands Summary 31



,DEVTYPE=AS/4XX ,Discintv=discintv ,HTABS=No ,LINE=line
AS4XX Yes
LUTYPE1
M2X-2
M2X-4
M2X-5
M2X-6
S/3
S/36
S/36X
S/37X
SYSTEM/3
SYSTEM/36
SYSTEM3
SYSTEM36
S36X
S37X
113X
277X
278X
2922
374X
378X
3781

,LOCAL19X=ACTION ,LOGON=logon ,LUNAME=luname ,MFORM=J
INFO M
T

,MRF278X=No ,MSGPRT=No ,MULTILV=No ,NUMPRt=numprt
Yes Yes Yes

,NUMPUn=numpun ,NUMRDr=numrdr ,Password=password ,RECFM=FIXED
VARIABLE

,RMT15X=No ,Routecde=routecde ,SETUP=MSG
Yes PDIR

,SHARable=No ,TRANSPAR=No ,WAITIME=waitime
SHAREable Yes Yes

Note:
1 See JES2 Commands Common Syntax Elements on page 6.

$ADD, $D, $T APPL


(1) 
$ADDAPPL Value
$D $ADD and $T Selection Keywords
$T
!
$ADD and $T Modification Keywords $D ONLY Display Keywords
$D ONLY Display Keywords:

,COMPACT ,LINE ,LOGMODE ,LOGON ,NODE ,REST ,STATUS
$ADD and $T Selection Keywords:

,COMPACT=compact ,LINE=line
/ = / =
> >
< <

,LOGMODE=logmode ,LOGON=logon
/ = / =
> >
< <

32 OS/390 V2R10 JES2 Commands Summary



,NODE=node ,STATUS=IN-SESSION
/ = / = NOT-IN-SESSION
> OPNDST-PENDING
< OPNSEC-PENDING
$ADD and $T Modification Keywords:

,COMPACT=compact ,LINE=line ,LOGMODE=logmode ,LOGON=logon ,NODE=node
$ADD Only Keywords:

,REST=rest

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
/ = / =
> >
< <

Chapter 1. JES2 Commands Summary 33



,TRace=
/ = MIXED
No
P
Yes

Note:
1 See JES2 Commands Common Syntax Elements on page 6

$AA, $HA Release/Hold Jobs


$AA!
$H ,memname
,ALL

$D MODULE(jxxxxxxx) - Display Assembled Module Information


$DMODule
(1)
Value Selection limiting keywords
!
Display limiting keywords
Display limiting keywords:

| ,ADDRess ,ASSEMBLY ,ENViron ,EXITPTS ,FMID ,IBMJES2

| ,LASTapar ,LASTPTF ,LENgth ,LOADmod ,LONG ,MACLevel

| ,ROUtines ,ROUTINES ,SPLevel ,TABLES ,UVERSION ,VERSION
Selection limiting keywords:

,ADDRess=address ,ENViron=FSS
/ = / = JES2
> MIXED
< SUBTASK
USER

,IBMJES2=BASE ,LASTapar=lastapar
/ = No / =
SAMPLE >
<

,LENgth=length ,LOADmod=loadmod
/ = / =
> >
< <

,MACLevel=maclevel ,SPLevel=CHECK
/ = / = NOCHECK
>
<

Note:
1 See JES2 Commands Common Syntax Elements on page 6.

$B, $E, $F, $I, $N Printer/Punch


$IPRTnnnn!
$N Rnnnn.PRm ,PRTnnnn
$E ,Rnnnn.PRm
$B PUNnn
$F ,D ,C ,nnnn Rnnnn.PUm ,PUNnn
,nnnn ,Rnnnn.PUm

34 OS/390 V2R10 JES2 Commands Summary


$C, $S, $P, $Z Printer/Punch/Reader
$CPRTnnnn!
$S Rnnnn.PRm ,PRTnnnn
$P ,Rnnnn.PRm
$Z PUNnn
Rnnnn.PUm ,PUNnn
,Rnnnn.PUm
RDRnn
Rnnnn.RDm ,RDRnn
,Rnnnn.RDm

$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
/ =
>
<

$C, $E, $P, $S NJE Device, Offload Transmitters and Receivers


$S OFFn.JRn!
$P OFFn .JTn OFFn.JRn
$C OFFn .SRn OFFn.JTn
.STn OFFn.SRn
OFFn.STn
$S Lnnnn
$P Lnnnn Lnnnn.JRn
$C Lnnnn Lnnnn.JTn
$E Lnnnn Lnnnn.SRn
Lnnnn.STn
$E OFFn.JTn
.STn OFFn.JTn
OFFn.STn

$D, $T NODE
(1) 
$DNODE Identifier
$T Selection limiting keywords
!
$D ONLY Display limiting keywords $T ONLY Modification keywords
$D ONLY Display limiting keywords:

Chapter 1. JES2 Commands Summary 35



,AUTH ,COMPACT ,ENDNODE ,HOLD ,LINE
,
Device)
=(
Job
Net
System

,LOGMODE ,LOGON ,NAME ,Password ,PATHMGR
,
SEND)
=(
VERify

,PENCRYPT ,PRIVATE ,RECeive ,REST ,SENTREST ,STATUS ,SUBnet

,TRace ,TRAnsmit
Selection limiting keywords:

, ,COMPACT=nn
,AUTH=(Device=No) / =
/ / = Yes >
Job=No <
/ = Yes
Net=No
/ = Yes
System=No
/ = Yes

,ENDNODE=No ,HOLD=JOBS
/ = Yes / = NONE

,LINE=line ,LOGMODE=avvvvvvv
/ = / =
> >
< <

,LOGON=logon ,PATHMGR=No
/ = / = Yes
>
<

,PENCRYPT=No ,PRIVATE=No
/ = Yes / = Yes

,RECeive=BOTH ,REST=nnnn
/ = JOBS / =
NONE >
SYSOUT <

,SENTREST=ACCEPT ,SUBnet=xxxxxxxx
/ = IGNORE / =
>
<

,TRace=No ,TRAnsmit=BOTH
/ = Yes / = JOBS
NONE
SYSOUT
$T ONLY Modification keywords:

, ,COMPACT=nn ,ENDNODE=No
Device=No)
,AUTH=( Yes
Yes
Job=No
Yes
Net=No
Yes
System=No
Yes

36 OS/390 V2R10 JES2 Commands Summary



,HOLD=JOBS ,LINE=nnnn ,LOGMODE=avvvvvvv ,LOGON=logon
NONE

,NAME=xxxxxxxx , ,PATHMGR=No
SEND=xxxxxxxx)
,Password=( Yes
VERify=xxxxxxxx

,PENCRYPT=No ,PRIVATE=No ,RECeive=BOTH ,REST=nnnn
Yes Yes JOBS
NONE
SYSOUT

,SENTREST=ACCEPT ,SUBnet=xxxxxxxx ,TRace=No
IGNORE Yes

,TRAnsmit=BOTH
JOBS
NONE
SYSOUT

Note:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D).

$D, $T ESTBYTE, ESTLNCT, ESTPAGE, ESTPUN, ESTIME


$DESTBYTE!
$T ESTLNCT $D Options Only $T Options Only
ESTPAGE
ESTPUN
ESTIME
$D Options Only:

,INT ,NUM ,OPT
$T Options Only:

(1) No
,INT=nnnnn ,NUM=nnnnn ,OPT=
Yes
(2) 1
,OPT=
2
3

Notes:
1 Use for only $T ESTIME.

2 Use for all except $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).

Chapter 1. JES2 Commands Summary 37


$T ,$D EXITS
(1) 
$TEXIT Numeric
$D Common Selection limiting keywords

$T Only Modification keywords ($D Only) Selection limiting keywords
!
($D Only) Display Limiting Keywords
$T Only Modification keywords:

,DISABLE ,ENABLE ,STATUS=DISABLED ,TRace=No
ENABLED Yes
Common Selection limiting keywords:

,STATUS=DISABLED ,TRace=No
/ = ENABLED / = Yes
(2)
ENTERED
($D Only) Display Limiting Keywords:

,ENViron ,ROUtines ,SPLEVEL ,STATUS ,Trace ,USECOUNT
($D Only) Selection Limiting Keywords:

,ENViron=FSS ,SPLEVEL=CHECK
/ = JES2 / = NOCHECK
MIXED
SUBTASK
USER

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

38 OS/390 V2R10 JES2 Commands Summary


$D, $E, $T MEMBER
(1) 
$DMEMBer Identifier
$E $D, $E, $T Selection keywords
$T
!
$T Only Modification Keywords $D Only Display limiting keywords
$D, $E, $T Selection keywords:

,SLEVEL=slevel ,STATUS=ACTIVE
/ = / = DEFINED
> DORMANT
< DOWN
DRAINED
FAILED
INITIALIZING
INUSE
JESXCF-FAILED
JES2-FAILED
MVS-GONE
TERMINATED
TERMINATING
UNDEFINED
UNDEFINED-PENDING

,SYSNAME=sysname ,VERSION=version
/ = / =
> >
< <
$T Only Modification Keywords:

,IND=No
/ = Yes
$D Only Display limiting keywords:

,BOSS ,COMMAND ,IND ,LASTART ,NAME
,
STARTIME)
=(
STARTYPE

,RESETBY ,SLEVEL ,SSNAME ,STATUS ,SYSNAME ,TIME ,VERSION

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:

Chapter 1. JES2 Commands Summary 39



,LIMit ,UNIT ,WS ,OUTDisp ,PLIM
UNIT=:

,UNIT=unit
/ =
>
<
HOLD=:

,HOLD=No
/ = Yes

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.

40 OS/390 V2R10 JES2 Commands Summary


$D M - Send Command
(1) 
$D MJOBnnnnnRnnnn,D= Destination
STCnnnnn -nnnn
TSUnnnnn -R
'JOBnnnnn' Nnnnn
'STCnnnnn' -nnnn
'TSUnnnnn' -R
Mn
-n
-R
NnnnnMnRnnnn
-n
-R
NnnnnRnnnnRnnnn
-nnnn
-R
(1) ,'command'!
,R= Destination
(1)
L= 'message'
message

Note:
1 SeeJES2 Commands Common Syntax Elements on page 6 .

$S, $Z (A, I, Job, N, SPOOL, XEQ), $P JES2, $T I, $D I


$P
$P JES2
$P JES2 Only Keywords
$PSPOOL
SPL $P SPOOL Keywords
$S
$S Only Keywords $S, $Z Common Keywords
$Z
$S, $Z Common Keywords
(1) Initiator Parms
$TI Identifier
$D Init
!
$D Only Selection Limiting Keywords $D Only Display Limiting Keywrods
$S Only Keyword:

Job Jobid
N
,LINEnnnn ,N=nodename ,P=password
,A=applname
XEQ
$S, $Z Common Keywords:

A,ALL
SPOOL SPOOL Parms
volser
'volser'
(volser)

'volser'
$P SPOOL Keywords:
identifier
,Cancel ,Volume=volume
/ =
>
<
$P JES2 Only Keywords:

,ABEND ,QUICK ,TERM
,FORCE
$D ONLY Selection Limiting Keywords:

Chapter 1. JES2 Commands Summary 41



,ACTCLASS=actclass Initiator Parms ,Class=class
/ = / =
> >
< <

,JOBID=jobid ,JOBNAME=jobname
/ = / =
> >
< <

,NAME=name
/ =
>
<
$D Only Dsiplay Limiting Keywords:

,ACTCLASS ,ASID ,Class ,INELigible_class ,JOBID ,JOBNAME

,Long ,NAME ,STATUS ,STC
Initiator Parms:

,ASID=asid ,STATUS=ACTIVE
/ = / = DRAINED
> DRAINING
< HALTED
HALTING
INACTIVE
RESTARTING
STARTING

,STC=stc
/ =
>
<
Jobid:

nn
'job'
,
nn)
(
job
'job'
SPOOL Parms:

| ,Cancel ,Drain ,Format ,SYSAFF= ,HALT
,P ,Z

Note:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D, $S,

$Z).

$S, $P Line, Logon, RMT, Trace


$SLINE!
$P LNE (1)
Numeric
LGN
LOGON
RMT
TRace

Note:
1 See JES2 Commands Common Syntax Elements on page 6.

42 OS/390 V2R10 JES2 Commands Summary


$T Transmitter/Receivers
(1) .JT Numeric
$T L Numeric (1) 
(1)
.ST Numeric
.ST Selection
ws!
(1) ,WS=
,LIMit= Numeric ,
(ws)
.ST Selection:

(1)
,OUTDisp=(H) ,PLIM= Numeric
HOLD
K
KEEP
L
LEAVE
W
WRITE
,
H

HOLD
K
KEEP
L
LEAVE
W
(2)
WRITE

Notes:
1 See JES2 Commands Common Syntax Elements on page 6.

2 OUTDisp can be coded up to 4 times.

$T, $S, $Z, $P OFFLOAD(n)


(1) 
$TOFFLOAD Numeric
$S $S Only Parameters
$Z
$P
!
$T Only Selection limiting keywords $T Only Modification keywords
$T Only Modification keywords:

,ARCHIVE=ALL ,DSN=dsname ,LABEL=AL ,PROTECT=No
ONE AUL Yes
BLP
NL
NSL
SL
SUL

,RETPD=nnnn ,UNIT=devnum ,VALIDATE=No
/devnum Yes
nnnn
cccccccc

,nn
(devnum)
/devnum ,nn
nnnn
cccccccc

,nn

,VOLS=vols
$T Only Selection limiting keywords:

Chapter 1. JES2 Commands Summary 43



,/DSN=dsname ,/LABEL=AL
= = AUL
> BLP
< NL
NSL
SL
SUL

,/PROTECT=No ,/RETPD=nnnn
= Yes =
>
<

,/VALIDATE=No ,/VOLS=vols
= Yes =
>
<
$S Only Parameters:
,TYPE=TRANSMIT
RECEIVE

Note:
1 See JES2 Commands Common Syntax Elements on page 6.

$T, $D OFF(n).JR, OFF(n).JT, OFF(n).SR, OFF(n).ST


(1) .JR
$TOFF Numeric
$D .JT $D Only Display limiting keywords
.SR
.ST
!
Selection limiting keywords $T Only Modification keywords
$T Only Modification keywords:

,CLass=class ,CReator=creator ,Hold= ,JOBname=jobname
No
Yes

, ,NOTify=No
CLass=class)
,MOD=( Yes
Hold=
No
Yes
Routecde=routecde
SYSaff=sysaff

,RANGE=low ,Routecde=routecde
(low) ,
,high )
(
routecde

,SYSaff=sysaff ,WS=ws
, ,

( (2) ) ws)
(
sysaff
Selection limiting keywords:

,/CLass=class ,/Hold=
= = No
> Yes
<

44 OS/390 V2R10 JES2 Commands Summary



,/JOBname=jobname ,
= /CLass=class)
,MOD=(
> / =
< >
<
/Hold=
= No
Yes
/SYSaff=sysaff
=

,/NOTify=No
= Yes
$D Only Display limiting keywords:

,CLass ,CReator ,Hold ,JOBname , ,NOTify
CLass)
,MOD=(
Hold
Routecde
SYSaff

,RANGE ,Routecde ,START ,STATUS ,SYSaff ,WS

Notes:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D).

2 sysaff can be coded up to 32 times.

$D LOADMOD(jxxxxxxx) - Display Load Module Information


$DLOADmod
(1)
Value Selection limiting keywords
!
Display limiting keywords
Display limiting keywords:

,ADDRess ,LENgth ,RMODE ,ROUtines ,SPLevel ,STORage ,TABLES
Selection limiting keywords:

,ADDRess=address ,LENgth=length
/ = / =
> >
< <

,RMODE=ANY ,SPLevel=CHECK
/ = 24 / = NOCHECK

,STORage=CSA
/ = LPA
PRIVATE
PVT

Note:
1 See JES2 Commands Common Syntax Elements on page 6.

$D N - Display Job Queue Information

Chapter 1. JES2 Commands Summary 45


$DN,Q=CNVclass!
,IND ,V=volser STC
,memname $
,ANY TSU
,ALL @
,IND 
XEQclass
STC
$
TSU
@

OUT
PPU
HOLD
XMTLOCAL
ANYLOCAL
Nnnnn
nodename
destid

$D, $T OUTPRTY - Display/Specify Job Output Priority


(1) 
$DOUTPRTY Numeric
$T Selection limiting keywords
!
$D Only Display limiting keywords $T Only Modification keywords
$D Only Display limiting keywords:

,PAGE ,PRIORITY ,RECORD
Selection limiting keywords:

,PAGE=page ,RECORD=record
/ = / =
> >
< <
$T Only Modification keywords:

,PAGE=page ,PRIORITY=priority ,RECORD=record

Note:
1 See JES2 Commands Common Syntax Elements on page 6 (optional for $D).

$ Job Output Commands


$COJob
$DO JOBQ (1)
Identifier
$L JQ
$PO Stc
$TO Tsu
!

$L Only Display Limiting Keywords $L Only Selection Limiting Keywords

$CO, $PO ONLY Keywords

$DO ONLY Display Limiting Keywords $DO ONLY Selection Limiting Keywords

$TO ONLY Modification Keywords $TO ONLY Selection Limiting Keywords
$L Only Display Limiting Keywords:
CMDauth
/ ,JM ,Held ,Ready
/
JOBMASK
/
$L Only Selection Limiting Keywords:

46 OS/390 V2R10 JES2 Commands Summary



,CMDauth=cmdauth ,JM=jobmask
/ = , / =
cmdauth
( (2) ) JOBMASK >
/ <
$CO, $PO ONLY Keywords:
Common Part 1 Common Part 3 ,ALL,HELD
/ /

,HOLD=NONE ,HOLDRC=holdrc
/ = OPER / =
SYS >
<
,PROTected
,PAGES=pages / ,OUTGrp=outgrp
/ = / =
>
<

,Queue=queue ,RECORDS=records , $CO Only
/ = / = $PO Only
>
<
$CO Only:

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 >
>
/ < <

Chapter 1. JES2 Commands Summary 47



(3) HELD ,
, (3) HOLD=NONE
/ / = OPER
SYS

(3) HOLDRC=holdrc ,
, (3) Hours>hours
/ = / <
>
<

(3) OFFS=offs
,
/ = ,
(offs
(4) )


(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:

48 OS/390 V2R10 JES2 Commands Summary



,HOLD=-OPER ,OFFS=offs
-SYS ,
NONE offs
( (4) )
OPER
NONE

,OUTDisp=H ,Priority=priority
HOLD
K
KEEP
L
LEAVE
P
PURGE
W
WRITE

,PRMode=prmode ,Forms=forms ,Burst=No
Yes

,C=fcb ,FLash=flash ,T=ucs
FCB O UCS

,Writer=writer ,=routecde
Dest
Routecde
/

,RELease=ALL ,Queue=c
OPER
SYS
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

Chapter 1. JES2 Commands Summary 49


Notes:
1 See JES2 Commands Common Syntax Elements on page 6.

2 cmdauth can be coded up to 2 times.

3 "/" is mandatory for $TO.

4 offs can be coded up to 8 times.

5 volume can be coded up to 253 times.

$ 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
/ = / =
>
<

50 OS/390 V2R10 JES2 Commands Summary



,Dest=routecde
/ =
Routecde=
/ =
>
<
$D Only Display Limiting Keywords:

,ARM_element ,CANCEL ,CARDS ,CC
,
ABEND)
=(
ABENDED
CANcelled
CNVT_abend
CODE
COMPleted
ENDed_by_cc
EOM_failure
JCLerror
SECurity_failure
TYPE

,Class ,Age ,DELAY ,INITASID ,PURGE ,SCHENV
DAys

,SCHENV_AFF ,SECLABEL ,SPL ,SRVCLASS
SPOOL ,
%)
=(
Percent
Tgs
Volumes

,Sysaff ,TYPE ,XEQNode ,CMDauth ,HOLD ,Hours ,JM
JOBMASK

,LONG ,OFFS ,Priority ,Queue ,REBUILD ,STATus ,USERID
$D Only Selection Limiting Keywords:

,ARM_element=No ,CANCEL
/ = Yes / = No
= Yes

,CARDS=cards
/ =
>
<

,
ABEND=system)
,CC=(
/ / = (system)
,user
ABENDED
/
CANcelled
/
CNVT_abend
/
CODE=code
/ =
>
<
COMPleted
/
ENDed_by_cc
/
EOM_failure
/
JCLerror
/
SECurity_failure
/

Chapter 1. JES2 Commands Summary 51



,Class=class ,DELAY=BUSY_ON_DEVICE
/ = / = HOLD
> LIMIT
< LOCKED
No
SCHENV
SPOOLS_NOT_AVAILABLE
SYSAFF
SYSTEMS_NOT_AVAILABLE
Yes

,HOLD=ALL ,INITASID=initasid
/ = ARM / =
DUP >
JOB <
NONE

,OFFS=offs ,PURGE
/ = , / = No
offs
( (2) ) = Yes

,SCHENV=schenv ,SCHENV_AFF=member
/ = / = ,
> member
( (3) )
<

,SRVCLASS=srvclass ,Sysaff=member
/ = / = ,
> member
( (3) )
<
 Common Part 1 Common Part 2 Common Part 3 
 $T, $D COMMON Selection Limiting Keywords
$L Only Selection Limiting Keywords:

| ,CMDauth=cmdauth ,JM=jobmask
| / (4) )
= (cmdauth / =
| JOBMASK >
| / <
$T, $D COMMON Selection limitng Keywords:

,USERID=userid ,SECLABEL=seclabel
/ = / =
> >
< <

,Priority=priority
/ =
>
<
$T Only Modification Keywords:

,Class=class ,OFFS=offs ,Priority=priority
,
offs
( (2) )


,SRVCLASS=srvclass ,Sysaff=member
,
member
( (3) )

$T Only Selection Limiting Keywords:


Common Part 1 Common Part 2 Common Part 3 
,/Class=class
=
>
<

52 OS/390 V2R10 JES2 Commands Summary



,HOLD=ALL ,/OFFS=offs
/ = ARM = ,
DUP offs
( (4) )
JOB
NONE

,SCHENV=schenv ,/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.

2 offs can be coded up to 8 times

3 member can be coded up to 33 times

| 4 cmdauth can be coded up to 2 times.

5 volume can be coded up to 253 times

$V S - Enter MVS System Commands through JES2




!
$VS,'command'
,'command'

Chapter 1. JES2 Commands Summary 53


$Mnn - Send commands to other MAS members
$Mnn,'command'!

$Nnnnn - Send Commands through the Network


$N,'command'!
nnnn(Mmm)
,D=Nnnnn
name

| $D Line - Display a Line

54 OS/390 V2R10 JES2 Commands Summary


|
| $DLINE
| LNE nnnn
| -nnnn
| 
| ,
nnnn)
| (
|  -nnnn
| 
| !
| Selection limiting keywords Display limiting keywords
| Display limiting keywords:
| 
| ,AUTODISC ,CODE ,COMPRESS ,Discon ,DUPLEX ,INTERFAC ,JRNUM
| 
| ,JTNUM ,LINECCHR ,LOG ,Password ,REST ,RMTSHARE ,SESsions
| 
| ,SPEED ,SRNUM ,STATUS ,STNUM ,TRaceio ,TRANSPAR ,UNIT
| Selection limiting keywords:
| 
| ,AUTODISC=No ,CODE=A
| / = Yes / = B
| 
| ,COMPRESS=No ,Discon=I
| / = Yes / = INTERRUPT
| No
| Q
| QUIESCE
| 
| ,DUPLEX=FULL ,INTERFAC=A
| / = HALF / = B
| 
| ,JRNUM=n ,JTNUM=n
| / = / =
| > >
| < <
| 
| ,LINECCHR=EBCDIC ,LOG=No
| / = USASCII / = Yes
| 
| ,REST=nnnn ,RMTSHARE=No
| / = / = Yes
| > N/A
| <
| 
| ,SPEED=HIGH ,SRNUM=n
| / = LOW / =
| >
| <
| 
| ,STATUS=ACTIVE ,STNUM=stnum
| / = DRAINED / =
| DRAINING >
| INACTIVE <
| SIGNON/AWAITING-MAS(x)
| SIGNON/AWAITING-c
| 
| ,TRaceio=No ,TRANSPAR=No
| / = Yes / = Yes
| 
| ,UNIT=SNA
| / = devnum
| > /devnum
| <

Chapter 1. JES2 Commands Summary 55


|| $T SPOOL - Modify a Spool Volume
| $TSPL!
| SPOOL volser ,SYSAFF=
| 'volser'
| (volser)
| 
| 'volser'

| $ZAPJOB - Remove Job Structure from Job Queue


| Note: Use of this command can cause JES2 outages on multiple members of a MAS.
| Ensure you read and understand the restriction in the JES2 Commands manual
| before using this command.
|
| $ZAPJOB
| ,JOBID=jjjnnnnn ,JOBKEY=xxxxxxxxxx ,JOBNAME=cccccccc
| !
| ,JQEINDEX=xxxx ,JQEOFF=xxxxxx

56 OS/390 V2R10 JES2 Commands Summary


Appendix A. Notices
This information was developed for products and services offered in the USA.

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:

IBM Director of Licensing


IBM Corporation
North Castle Drive
Armonk, NY 10504-1785
USA

For license inquiries regarding double-byte (DBCS) information, contact the IBM
Intellectual Property Department in your country or send inquiries, in writing, to:

IBM World Trade Asia Corporation


Licensing
2-31 Roppongi 3-chome, Minato-ku
Tokyo 106, Japan

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.

This information could include technical inaccuracies or typographical errors. Changes


are periodically made to the information herein; these changes will be incorporated in
new editions of the publication. IBM may make improvements and/or changes in the
product(s) and/or the program(s) described in this publication at any time without notice.

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

Copyright IBM Corp. 1998, 2000 57


materials at those Web sites are not part of the materials for this IBM product and use
of those Web sites is at your own risk.

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

Such information may be available, subject to appropriate terms and conditions,


including in some cases, payment of a fee.

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.

58 OS/390 V2R10 JES2 Commands Summary


Trademarks
The following terms are trademarks of the IBM Corporation in the United States and/or
other countries:
 AS/400
 IBM
 IBMLink
 MVS/ESA
 OS/390
 S/370
 VTAM

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.

Feel free to comment on specific errors or omissions, accuracy, organization, subject


matter, or completeness of this book. However, the comments you send should pertain
to only the information in this manual and the way in which the information is
presented. To request additional publications, or to ask questions or make comments
about the functions of IBM products or systems, you should talk to your IBM
representative or to your IBM authorized remarketer.

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

Make sure to include the following in your note:


 Title and publication number of this book
 Page number or topic to which your comment applies

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:

What is your occupation?

Newsletter number of latest Technical Newsletter (if any) concerning this publication:

How did you use this publication?


[ ] As an introduction [ ] As a text (student)
[ ] As a reference manual [ ] As a text (instructor)
[ ] For another purpose (explain)

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

Fold and Tape Please do not staple Fold and Tape

NO POSTAGE
NECESSARY
IF MAILED IN THE
UNITED STATES

BUSINESS REPLY MAIL


FIRST-CLASS MAIL PERMIT NO. 40 ARMONK, NEW YORK

POSTAGE WILL BE PAID BY ADDRESSEE

IBM Corporation
Department 55JA, Mail Station P384
2455 South Road
Poughkeepsie, NY 12601-5400

Fold and Tape Please do not staple Fold and Tape

Cut or Fold
GX22-0041-06 Along Line
IBM

Program Number: 5647-A01

Printed in the United States of America


on recycled paper containing 10%
recovered post-consumer fiber.

GX22-XX41-X6

You might also like