IBM OS/390 User Manual
4.3.13 Summary of MVS JCL Statements
Table 8. MVS Job Control Statements
JCL Statement
Purpose
/ / c o m m a n d
Enters an MVS system operator command
through the input stream. The command
statement is used primarily by the operator. Use
the COMMAND statement instead of the JCL
command statement.
through the input stream. The command
statement is used primarily by the operator. Use
the COMMAND statement instead of the JCL
command statement.
/ / COMMAND
Specifies an MVS or JES command that the
system issues when the JCL is converted. Use
the COMMAND statement instead of the JCL
command statement.
system issues when the JCL is converted. Use
the COMMAND statement instead of the JCL
command statement.
//* c o m m e n t
Contains comments. The comment statement is
used primarily to document a program and its
resource requirements.
used primarily to document a program and its
resource requirements.
/ / CNTL
Marks the beginning of one or more program
control statements.
control statements.
/ / DD
Identifies and describes a data set. Indicates the
end of data placed in the input stream. Note: Any
two characters can be designated by the user to
be the delimiter.
end of data placed in the input stream. Note: Any
two characters can be designated by the user to
be the delimiter.
/ / ENDCNTL
Marks the end of one or more program control
statements.
statements.
/ / EXEC
Marks the beginning of a job step; assigns a
name to the step; identifies the program or the
cataloged or in-stream procedure to be executed
in this step.
name to the step; identifies the program or the
cataloged or in-stream procedure to be executed
in this step.
/ / IF/THEN/ELSE/ENDIF
Specifies conditional execution of job steps within
a job.
a job.
/ / INCLUDE
Identifies a member of a partitioned data set
(PDS) or partitioned data set extended (PDSE)
that contains JCL statements to be included in
the job stream.
(PDS) or partitioned data set extended (PDSE)
that contains JCL statements to be included in
the job stream.
/ / JCLLIB
Identifies the libraries that the system will search
for INCLUDE groups and Procedures named in
EXEC statements.
for INCLUDE groups and Procedures named in
EXEC statements.
/ / JOB
Marks the beginning of a job; assigns a name to
the job.
the job.
/ /
Marks the end of a job.
/ / OUTPUT
Specifies the processing options that the job
entry subsystem is to use for printing a SYSOUT
data set.
entry subsystem is to use for printing a SYSOUT
data set.
/ / PEND
Marks the end of an in-stream or cataloged
procedure.
procedure.
/ / PROC
Marks the beginning of an in-stream procedure
and may mark the beginning of a cataloged
procedure; assigns default values to parameters
defined in the procedure.
and may mark the beginning of a cataloged
procedure; assigns default values to parameters
defined in the procedure.
/ / SET
Defines and assigns initial values to symbolic
parameters used when processing JCL
statements. Changes or nullifies the values
assigned to symbolic parameters.
parameters used when processing JCL
statements. Changes or nullifies the values
assigned to symbolic parameters.
88
VSE to OS/390 Migration Workbook