Audience
This course is for programmers, systems analysts, systems programmers, operations support and others who need to understand and code JCL within a z/OS environment. It is especially useful for Operations and Support Staff who are required to analyse job failures and re-start them with minimal supervision.
Prerequisites
Participants should have a basic understanding of the operating environment and operating systems functions, (this may be gained from attending our course z/OS and for Beginners), and be familiar with TSO/ISPF (which may be gained from our course TSO/ISPF Workshop).
Duration
3 days. Hands on.
Course Objectives
This course provides an introduction to z/OS JCL and the impact of SMS on it.
On completion of this course the participant should be able to:
- Code JCL to perform general tasks within the z/OS system.
- Understand the Job listings and associated messages.
- Diagnose and resolve JCL problems.
- Analyse Job failures, correct and re-start job.
- Code JOB, EXEC, and DD statements
- Create data sets of different types
- Improve programmer efficiency and reduce program test time.
- Decrease the number of job failures
Course Content
Introduction to JCL
Evolution of JCL
JCL syntax
Statement types
Operand types
JCL Error points
Comprehension quiz
6 JCL error comprehension exercises
JOB Statement
Influences on the JOB statement
CLASS and its role in JOB selection
GROUP
JOBRC
MSGCLASS and output affected
MSGLEVEL
NOTIFY
PASSWORD
REGION
MEMLIMIT
TIME
TYPRUN
USER
Mentioned but not discussed in detail are: Accounting Information, BYTES, CARDS, LINES, PAGES, PERFORM Programmers Name, PRTY
Comprehension quiz
3 practical exercises
EXEC Statement
Influences on the EXEC statement
PGM / PROC
COND
PARM
REGION
TIME
Comprehension quiz
4-5 practical exercises
DD Statement basics
Influences on the DD statement
DDNAMES sources
User programs
Utilities
Reserved DDNAMES
z/OS
JES2
In-stream data sets
*
DATA
DLM
Spooled data sets (SYSOUT)
DSN
Permanent data sets
Temporary data sets
DISP
Comprehension quiz
3 practical exercises
Using Data Sets
Data set organisations (DSORG)
Non-VSAM types
VSAM types
Defining a new permanent data set
LRECL
RECFM
BLKSIZE
SPACE
UNIT
VOL
Defining a new cartridge data set
EXPDT
RETPD
LABEL
Defining a temporary data set for this step
Defining a temporary data set for another step
Referencing a previous temporary data set
Comprehension quiz
5 practical exercises
Impact of SMS
DATACLAS
MGMTCLAS
STORCLAS
AVGREC
LIKE
REFDD
Comprehension quiz
2 practical exercises
JCL Miscellany
RESTART
RD
Concatenated data sets
Deferred data sets
DUMMY data sets
DUMMY
DSN=NULLFILE
Backward references
OUTPUT statement
Comprehension quiz
3 practical exercises
Additional information
This course could be combined with the Advanced JCL course to produce a comprehensive 5-day event. Alternatively the course can be delivered as a self-paced course via our WEB interface.