Task Charts
For each task, the charts list the parameters and statements that can be used to perform it. In many cases, the same task can be performed using different parameters on different statements. Where a parameter can appear on both a JOB and EXEC statement, it applies to the entire job when coded on the JOB statement but only to a step when coded on an EXEC statement.
- Identification: The job must be identified in the jobname field of a JOB statement.
- Execution: The program or procedure to be executed must be named in a PGM or PROC parameter on an EXEC statement.
//jobname JOB
// EXEC {PGM=program-name }
{PROC=procedure-name}
{procedure-name}
TASKS FOR ENTERING JOBS | STATEMENTS AND PARAMETERS | ||||
---|---|---|---|---|---|
JCL Statements | JES2 Statements | JES3 Statements | |||
JOB | EXEC | Other JCL | |||
Identification | |||||
of job | jobname field | null statement (JES3 only) | |||
of step | stepname field | ||||
of procedure | PROC PEND | ||||
of INCLUDE group | INCLUDE | ||||
of account | accounting information or pano in JOB JES2 accounting information | ACCT | /*NETACCT | //*NETACCT | |
of programmer | programmer's name and room in JOB JES2 accounting information USER | ROOM on /*JOBPARM | PNAME, BLDG, DEPT, ROOM, and USERID on //*NETACCT | ||
Execution | |||||
of program | PGM | ||||
of procedure | PROC | ||||
when restarting and with checkpointing | RESTART RD | RD | SYSCHK DD | RESTART on /*JOBPARM | FAILURE and JOURNAL on //*MAIN |
deadline or periodic | DEADLINE on //*MAIN | ||||
when dependent on other jobs | //*NET | ||||
at remote node | XMIT JCL | /*ROUTE XEQ /*XEQ /*XMIT | //*ROUTE XEQ | ||
Job Input Control | |||||
by holding job entrance | TYPRUN CLASS | HOLD, UPDATE, or CLASS on //*MAIN //*NET | |||
by holding local input reader | //*PAUSE | ||||
by copying input stream | TYPRUN CLASS | ||||
from remote work station | /*SIGNON /*SIGNOFF | /*SIGNON /*SIGNOFF | |||
Communication | |||||
from JCL to system | COMMAND Command | /*$command | //**command | ||
from JCL to operator | /*MESSAGE | //*OPERATOR | |||
from JCL to programmer | Comment field unless no parameter field | Comment field | //*comment, also comment field on all statements but null | Comment field on //*ENDPROCESS and //*PAUSE | |
from JCL to program | PARM | ||||
from system to operator | WARNING on BYTES, CARDS, LINES, and PAGES | FETCH on //*MAIN WARNING on BYTES, CARDS, LINES, and PAGES on //*MAIN | |||
from system to userid -of job completion -of print completion | NOTIFY | NOTIFY on OUTPUT JCL statement | /*NOTIFY | ACMAIN on //*MAIN with JOB NOTIFY | |
from TSO/E userid to system | USER on //*MAIN | ||||
from functional subsystem to programmer | PIMSG on OUTPUT JCL | ||||
through job log | MSGCLASS MSGLEVEL log in JOB JES2 accounting information | JESDS on OUTPUT JCL | NOLOG on /*JOBPARM | ||
Protection | |||||
through RACF | GROUP PASSWORD SECLABEL USER | ||||
Resource Control | |||||
of program library | JOBLIB DD, STEPLIB DD, DD defining PDS or PDSE member | ||||
of procedure library | JCLLIB | PROCLIB on /*JOBPARM | PROC and UPDATE on //*MAIN | ||
of INCLUDE group | JCLLIB | PROCLIB on /*JOBPARM | PROC and UPDATE on //*MAIN | ||
of address space | REGION ADDRSPC | REGION ADDRSPC | LREGION on //*MAIN | ||
of processor | SYSAFF on /*JOBPARM | SYSTEM on //*MAIN | |||
of spool partition | SPART and TRKGRPS on //*MAIN |
TASKS FOR PROCESSING JOBS | STATEMENTS AND PARAMETERS FOR TASK | ||||
---|---|---|---|---|---|
JCL Statements | JES2 Statements | JES3 Statements | |||
JOB | EXEC | Other JCL | |||
Processing Control | |||||
by conditional execution | COND |
COND | IF/THEN/ELSE/ ENDIF statement construct | CANCEL on BYTES, CARDS, LINES, and PAGES on /*JOBPARM | CANCEL on BYTES, CARDS, LINES, and PAGES on //*MAIN |
by timing execution | TIME or time in JOB JES2 accounting information | TIME | TIME on /*JOBPARM | ||
for testing:
|
TYPRUN CLASS DUMP on BYTES, CARDS, LINES, and PAGES | PGM=IEFBR14 |
SYSMDUMP DD |
//*PROCESS //*ENDPROCESS DUMP in BYTES, CARDS, LINES, and PAGES on //*MAIN | |
Performance Control | |||||
by job class assignment | CLASS | CLASS on //*MAIN | |||
by selection priority | PRTY | /*PRIORITY | |||
by performance group assignment | PERFORM | PERFORM | |||
by I/O-to-processing ratio | IORATE on //*MAIN |
TASKS FOR REQUESTING DATA SET RESOURCES | STATEMENTS AND PARAMETERS FOR TASK | ||||
---|---|---|---|---|---|
JCL Statements | JES2 Statements | JES3 Statements | |||
DD | OUTPUT JCL | Other JCL | |||
Identification | |||||
of data set | DSNAME | UPDATE on //*MAIN | |||
of in-stream data set | * or DATA SYSIN DD DLM | /* or xx delimiter | //*DATASET //*ENDDATASET | ||
of data set on 3540 Diskette Input/Output Unit | DSID | ||||
through label | label-type on LABEL | ||||
by location on tape | data-set- sequence- number on LABEL | ||||
from or to terminal | TERM | ||||
Description | |||||
of status | DISP | ||||
of data attributes - by modeling | DCB |
||||
of data for ISO/ANSI Version 4 tapes | CCSID | ||||
of migration and backup | MGMTCLAS | ||||
Protection | |||||
through RACF | PROTECT SECMODEL | ||||
for ISO/ANSI/FIPS Version 3 tapes and ISO/ANSI Version 4 tapes | ACCODE | ||||
by passwords | PASSWORD and NOPWREAD on LABEL | ||||
of access to BSAM and BDAM data sets | IN and OUT on LABEL | ||||
Allocation | |||||
of device | UNIT STORCLAS | CLASS on JOB (JES3 only) | SETUP and CLASS on //*MAIN | ||
of tape or direct access volume | VOLUME STORCLAS | EXPDTCHK and RINGCHK on //*MAIN | |||
of direct access space | SPACE AVGREC DATACLAS | ||||
of virtual I/O | UNIT |
||||
with deferred volume mounting | DEFER on UNIT | ||||
with volume pre-mounting | /*SETUP | ||||
dynamic | DYNAMNBR on EXEC | ||||
Processing Control | |||||
by suppressing processing | DUMMY NULLFILE on DSNAME | ||||
by postponing specification | DDNAME | ||||
with checkpointing | CHKPT SYSCKEOV DD SYSCHK DD | RESTART on JOB RD on EXEC | |||
by subsystem | SUBSYS CNTL | CNTL ENDCNTL | |||
End Processing | |||||
unallocation | FREE | ||||
disposition of data set | DISP |
OUTDISP on /*OUTPUT | |||
release of unused direct access space | RLSE on SPACE | ||||
disposition of volume | RETAIN and PRIVATE on VOLUME |
TASKS FOR REQUESTING DATA SET RESOURCES | STATEMENTS AND PARAMETERS FOR TASK | ||||
---|---|---|---|---|---|
JCL Statements | JES2 Statements | JES3 Statements | |||
DD | OUTPUT JCL | Other JCL | |||
Identification | |||||
as a sysout data set | SYSOUT | ||||
name (last qualifier) | DSNAME | ||||
of output class | class on SYSOUT | CLASS | MSGCLASS on JOB with SYSOUT=* or CLASS=* and SYSOUT=(,) | ||
of data set on 3540 Diskette Input/Output Unit | DSID | ||||
Description | |||||
of data attributes | DCB | ||||
Protection | |||||
of printed output | DPAGELBL SYSAREA | ||||
Performance Control | |||||
by queue selection | PRTY | ||||
Processing Control | |||||
with additional parameters | OUTPUT code-name on SYSOUT | DEFAULT | |||
by segmenting | SEGMENT | ||||
with other data sets | class on SYSOUT | THRESHLD (JES3 only) GROUPID (JES2 only) | |||
by external writer | writer-name on SYSOUT | WRITER | |||
by mode | PRMODE | ||||
by holding | HOLD class on SYSOUT | CLASS OUTDISP | |||
by suppressing output | DUMMY class on SYSOUT | OUTDISP=PURGE on OUTPUT | |||
with checkpointing | CKPTLINE CKPTPAGE CKPTSEC | CKPLNS and CKPPGS on /*OUTPUT | |||
by Print Services Facility (PSF) | AFPPARMS |
||||
by Infoprint Server | FSSDATA |
||||
End Processing | |||||
unallocation | FREE |
||||
Destination Control | |||||
to local or remote device or to another node | DEST class on SYSOUT | DEST |
/*ROUTE PRINT /*ROUTE PUNCH | ORG on //*MAIN | |
to another processor | ACMAIN on //*MAIN | ||||
to internal reader | INTRDR as writer-name on SYSOUT | /*EOF |
|||
to terminal | TERM | ||||
to assist in sysout distribution | ADDRESS |
ROOM on /*OUTPUT | |||
Output Formatting | |||||
to any printer | COPIES FCB form-name on SYSOUT UCS | COPIES |
forms, copies, and linect on JOB JES2 accounting information | COPIES, FORMS, and LINECT on /*JOBPARM COPIES, FCB, and FORMS on /*OUTPUT | COPIES and FORMS on //*FORMAT PR |
to an AFP printer in addition to most of printer parameters | BURST |
BURST CHARS FLASH MODIFY TRC | BURST on |
CHARS and FLASH on //*FORMAT PR | |
to 3211 Printer with indexing feature | INDEX (JES2 LINDEX only) | ||||
to punch | COPIES FCB form-name on SYSOUT DCB=FUNC=I | COPIES |
|||
of dumps on 3800 Printing Subsystem | CHARS=DUMP FCB=STD3 | CHARS=DUMP FCB=STD3 | |||
Output Limiting | |||||
OUTLIM | lines and cards |
BYTES, CARDS, LINES, and PAGES on /*JOBPARM | BYTES, CARDS, LINES, and PAGES on //*MAIN | ||
USERDATA Specifications | |||||
Installation specifications | USERDATA |