JCL for z/OS MVS
|Duration: 5 days|
|Participants: Application developers, programmers, operations and operation support, and systems support personnel.|
Upon successful completion of this course you will be able to:
- Create efficient job streams, containing JCL and JES statements, to execute programs and invoke procedures.
- Code PROCs to execute application programs and utilities.
- Write JCL and control statements to execute a variety of utilities including SORT, IEBGENER, IDCAMS, etc.
- Execute "compile, link, and go" PROCs, using appropriate overrides and symbolic substitutions, to test application programs.
- Optional. Code linkage editor JCL, PARMs, and control statements to link multi-module programs.
- Implement relatively new JCL features including IF, SET, INCLUDE, and SMS classes (management class, storage class, and data class).
- Diagnose and correct JCL errors and read the JES JOB LOG.
- Optional. Look up abend and other error messages in www.ibm.com softbooks, Book Manager, and/or Quick Ref.
This course teaches the fundamentals of JCL coding, and uses a variety of popular utility programs to illustrate the concepts and also allow students to practice coding JCL in the workshops.
- Depending on the audience, this course can focus on the needs of programmers (CLG PROCs and the Linkage Editor), operations (additional focus on diagnosing and correcting errors and omitting PROC writing), or support (focusing more on PROC writing and RESTART considerations).
- A separate course is available for creating and managing VSAM files using IDCAMs.
|Prerequisites: Experience using TSO/ISPF is required.|
|Format: Lecture and discussion with extensive hands-on exercises. Utilities are used in this course to provide meaningful machine exercises.|
z/OS basic architecture and terminology
JES processing (JES 2 or JES 3)
JCL facilities and options
JCL syntax and coding rules
Positional and keyword parameters
Overview of reference materials
Impact of the Storage Management Subsystem (SMS)
Impact of promoted and new DD parameters
- Job Streams
JOB statement format and parameters
EXEC statement format and parameters
Source, object, and load modules
Basic DD statements
COND to control step execution
Processing program return codes
Forcing job-stream flow
IF THEN ELSE END-IF to control step execution
- File Management and Processing
Dataset organizations - DSORG
Dataset access methods (overview)
QSAM: physical sequential
BPAM: partitioned (PDS)
Record formats - RECFM
Spool file processing - DD * and DD SYSOUT=
Input stream records
Print-image and spooled output
Relationship to OUTPUT statement
Defensive space allocation strategies
Data storage format
Label formats and processing, LABEL
Device characteristics and device utilization
Storage Management Subsystem (SMS)
Definition and use of:
Automatic class selection routines
Matching data requirements with storage devices
Coding SMS-related changes to JCL
- DD Statements
DD statement parameters
Special DD statements
UNIX JCL (Optional)
z/OS new features (Optional)
- Other Statements
JES control statements
Private procedure libraries
Using existing PROCs
Overriding symbolic variables
Modifying EXEC parameters
Adding DD and OUTPUT statements
Overriding DD statements
Overriding concatenated DDs, especially libraries
Designing and coding PROCs
- Dataset concatenation
- Referbacks on
- GDGs (Generation Data Groups) and GDSs (Generation Datasets)
Creating GDGs and GDSs
Absolute and relative names
DCB=model (old method)
LIKE and REFDD (new method)
Managing the generations
- RESTART Considerations