JCL for z/OS MVS
Duration: 5 days |
Participants: Application developers, programmers, operations and operation support, and systems support personnel. |
Objectives:
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. |
Overview:
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. |
Topic Outline:
- Introduction 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 Accounting information Programmer name TIME REGION COND MSGCLASS MSGLEVEL PRTY CLASS NOTIFY TYPRUN PERFORM GROUP RD RESTART EXEC statement format and parameters PGM PROC TIME PARM COND RD Executable modules Source, object, and load modules Libraries Basic DD statements Instream Disk input Disk output DUMMY COND to control step execution Processing program return codes Abend processing 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) VSAM: Key-sequenced (KSDS) Entry-sequenced (ESDS) Relative-record (RRDS) Record formats - RECFM Fixed Variable Undefined Blocked ASCII Spool file processing - DD * and DD SYSOUT= Input stream records Print-image and spooled output Relationship to OUTPUT statement System catalog Buffer processing VSAM processing AMP AMORG BUFND BUFNI BUFSP Others DASD files Space utilization Device characteristics Maximizing storage Blocking considerations Defensive space allocation strategies Tape processing Data storage format Label formats and processing, LABEL Blocking considerations Device characteristics and device utilization Storage Management Subsystem (SMS) Definition and use of: DATACLAS MGMTCLAS SMS-managed datasets Automatic class selection routines Matching data requirements with storage devices Coding SMS-related changes to JCL - DD Statements DD statement parameters * DATA DLM DUMMY DYNAM DSNAME DISP UNIT VOLUME SPACE SYSOUT COPIES OUTLIM HOLD DEST DCB LRECL BLKSIZE OPTCD RECFM DSORG BUFNO AMP BUFSP BUFNI BUFND AMORG Special DD statements JOBLIB STEPLIB JOBCAT STEPCAT SYSABEND SYSUDUMP UNIX JCL (Optional) ESA changes SMS Promoted parameters z/OS new features (Optional) - Other Statements OUTPUT Null statement Data delimiter Comment statement JES control statements INCLUDE SET - Procedures Cataloged procedures Private procedure libraries PROC statement Using existing PROCs Symbolic parameters Overriding symbolic variables Modifying EXEC parameters Adding DD and OUTPUT statements Overriding DD statements Step-to-step references Overriding concatenated DDs, especially libraries DDNAME Designing and coding PROCs Testing PROCs - Dataset concatenation - Referbacks on PGM VOL UNIT DSN DCB - 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) Restart considerations Managing the generations - RESTART Considerations Dangers Limitations |
|