OS/390 MVS Job Control Language
This course presents the common parameters for each major type of JCL statement. It is
recommended that all participants be familiar with some type of text editor (such as
TSO/ISPF), as there are a number of hands-on exercises in this course.
Objectives
- Understand the purposes of the different
parameters that are used on the JOB, EXEC, and DD statements.
- Understand job flow and job step concepts.
- Understand the use of condition codes.
- Understand the uses of partitioned data sets
and generation data groups.
- Write, test, execute, and override JCL procedures.
Intended Audience
Operations personnel, programmers with limited experience and analysts who use or need
to use JCL.
Prerequisites
It is assumed that the participant in familiar with TSO/ISPF.
Duration
3 days
Course Outline
INTRODUCTION TO JCL
Purpose of JCL
JCL coding rules
JOB statement and key parameters
Accounting and Programmer Name parameters
CLASS, MSGCLASS, MSGLEVEL, TIME, REGION, NOTIFY, PRTY, TYPRUN
EXEC statement and key parameters
JOBLIB and STEPLIB
statements
TIME, REGION, PARM, COND
DATA DEFINITION STATEMENT
Relationship between DD statements and
programs
DD statement and key parameters
DSN and DISP
parameters
Cataloging Data Sets
SYSOUT parameter
Instream Data
(DD * and DD DATA)
DUMMY parameter
UNIT, SPACE, AVGREC, DCB,
VOL parameters
Effects of Blocking Data Sets
IEFBR14
Sample
job output
OUTPUT and JES STATEMENTS
OUTPUT JCL and DD statement
JES2 statements
JES3 statements
MULTIPLE JOB STEP PROCESSING
Sample JCL with multiple job steps
Bypassing job steps using condition codes
Using the IF/THEN/ELSE/ENDIF structure for Condition Code Checking
ADDITIONAL TOPICS
Using partitioned data sets (PDS)
SYSUDUMP DD Statement
Positional parameters for the UNIT DD parameter
LABEL DD parameter
Tape and Cartridge Files
Positional parameters for the VOLUME DD parameter
Referbacks on the DCB, DSN and VOL parameters
SMS (Storage Management Subsystem) parameters
AVGREC, DATACLAS, DSNTYPE, KEYOFF, LIKE, MGMTCLAS,
RECORG, REFDD, SECMODEL and STORCLAS
Generation data groups (GDGs)
PROCEDURES
What are procedures and why use them?
Differences between cataloged and instream procedures
JCLLIB Statement
Overriding DD and EXEC
Statements in a Proc
Using symbolic parameters
SET statement
JCL overrides to EXEC and DD statements
WRAP-UP
Restarting jobs
Common abend codes