| Oakwood Computing Ltd 1 Dornton Road South Croydon Surrey CR2 7DR UK Tel: +44 (0) 20 8686 7266 courses@oakwoodcomputing.co.uk |
| Updated 12 February, 2004 |
Writing
MVS JCL
Duration: 3 days
Audience: Programmers and operations support staff who need to work
with JCL on a z/OS or OS/390 system
Prequisites: Good working knowledge of a mainframe editor
JCL for z/OS UNIX System Services can be included if required.
This course has been updated to z/OS V1R5.
Contents: Top
Objectives
Running jobs in z/OS and MVS
Overview of a job; how JES processes a job; MVS datasets and access methods;
PDS and PDSE comparisons; compilation and link edit; statements: JOB, EXEC,
IF, ENDIF, DD, OUTPUT, PROC, PEND, JCLLIB, INCLUDE, SET, etc.; syntax rules;
JES2 control statements, executing on a different machine: JOBPARM, ROUTE,
etc.
The JOB Statement
Function and format; positional parameters: accounting information, 'programmer'
name; keyword parameters: CLASS, MSGCLASS, NOTIFY, REGION, MEMLIMIT, TIME,
TYPRUN, etc; how jobnames are handled by TSO and the security system.
The EXEC and IF Statements
Function and format; constructing stepnames; PGM and PROC; common parameters:
PARM, REGION, MEMLIMIT, TIME; use of the IEFBR14 program. Conditional tests,
COND, IF-THEN-ELSE-ENDIF.
The DD Statement
Function and format; use of DDNAME to link program with JCL; function of the
catalogs; SMS and non-SMS datasets; parameters for VSAM, printer, QSAM, tape,
pds, in-stream, and generation datasets; DSN, DISP, SYSOUT, UNIT, VOL, SPACE,
DCB, BLKSIZE, BLKSZLIM, CCSID, OPTCD, LABEL, DUMMY, AMP, etc; special DDNAMES:
JOBLIB, STEPLIB, SYSUDUMP, SYSPRINT, SYSOUT, SYSIN, SYSLIB, SYSABOUT, etc;
special techniques: concatenated datasets, temporary datasets, non-existent
datasets, backwards referencing.
The OUTPUT Statement
Function and format: controlling printer output, remote printers, FCBs, special
stationery, multiple copies, etc; options for retaining output in the JES
dataset; parameters for TCP/IP connections; parameters for Infoprint Server.
Catalogued Procedures
Catalogued and In-stream procedures; using parameter libraries; modifying
EXEC parameters; modifying DD parameters; symbolic parameters; setting defaults,
PROC; handling in-stream data; JCLLIB, INCLUDE, SET.
Batch Utilities
Introduction to general format and required datasets; IEBCOPY, IEBGENER, IEBUPDTE,
IEHLIST, IEHINITT, etc. SORT, IKJEFT01, DFSRRC00.
Introduction to MVS dump codes
System and User abend codes; messages on log; common failures (e.g. OC7, 806,
B37).