Objectives
On successful completion of this course, attendees will
be able to:
- state the purpose of each z/OS job control statement
- code JCL statements to access disk and cartridge files
- describe and use the commonly used parameters
- correct syntax errors in JCL statements
- code in-stream procedures and override, nullify and add parameters
- appreciate the implications of SMS when using z/OS JCL.
Who Should Attend
Applications Programmers, Systems Programmers, Operations Analysts and Operators.
Prerequisites
The ability to use TSO/ISPF and a basic knowledge of z/OS and its file structure.
Duration
3 days
Fee
£1225 (ex. VAT)
Course Code
TM |
|
Contents
z/OS: Structure and Components
MVS background and history; MVS main memory and virtual storage; MVS versions; Address space layout; Common area; Private area; Main components of MVS; MVS processing environments: On-line, TSO, ISPF, Batch; MVS spooling; Other program products and their functions.
This segment gives a brief overview of z/OS.
Introduction to z/OS JCL
Basic job structure; Job stream processing; JCL output; JCL statement types; JCL statement format and coding rules; JES2 control statements; JES3 control statements; JCL error points.
Describes jobs and job steps, introduces rules for coding JCL statements and explains the role that JES has in job submission and execution.
The JOB Statement
The JOB statement overview; Accounting information - positional; Programmer's name - positional; Keyword parameters; Other keyword parameters; Example JOB statements.
This segment distinguishes between positional and keyword parameters. It also explains the more common JOB statement parameters.
The EXEC Statement
The EXEC statement; EXEC format - program; EXEC format - procedure; EXEC keyword parameters; Other EXEC keyword parameters; COND parameter; EVEN or ONLY; Example EXEC statements; EXEC statement summary..
Covers the differences between executing a program and a procedure. Parameters used when a program is executed are explained.
Printing and In-stream Data
Print files & In-stream data; Printing: Examples, DEST, COPIES, DCB; Output statement; OUTPUT statement: Implicit, Explicit, Multiple output; Output statement parameters; Examples; OUTDISP parameter; In-stream data.
JES’s handling of print output (which output queue the print output will go to, etc), plus the use of in-stream data.
The DD Statement
The DD statement; DD parameters: DSN, DISP, UNIT and VOL; SMS considerations; DD statement summary: Existing catalogued data set, Existing non-catalogued data set.
Describes the JCL needed for existing data sets. The importance of cataloguing data sets is emphasised
The DD Statement - Working with Data Sets
Data set types; Sequential data sets; Partitioned data sets; VSAM data sets; BUFNO; Accessing existing data sets; Creating new non-VSAM data sets; Data Control Block parameters; SPACE parameter; Space allocation DSCBs; System Managed Storage: Disk data sets with SMS, Space allocation with SMS. DCB parameters with SMS; Creating VSAM data sets in JCL; Generation data sets; SMS GDG considerations; Stages in creating a generation data set; Tape data sets; . LABEL parameter; DD statement summary; Creating a new data set on disk – non-SMS; Creating a new tape data set..
This segment describes the JCL needed to create new data sets, either on DASD, or cartridge. An explanation of generation data sets and the JCL needed to use them is included in this segment, along with details of the new parameters available if SMS is used.
Further DD Considerations
Special ddnames; JOBLIB; STEPLIB; Dump data sets; Concatenated data sets; Temporary data set names; Dummy data sets.
The remaining uses of the DD statement, with emphasis on DD names for libraries, dump, concatenated and temporary data sets.
Catalogued Procedures
JCL procedures; In-stream procedures; What a catalogued procedure cannot contain; Cataloguing a procedure; INCLUDE statement; Calling a procedure; Symbolic parameters; Examples of symbolic translation; Default parameters; Resolving symbolic parameters; SET statement; Modifying EXEC statement parameters; Modifying DD parameters; Concatenated data sets; Adding DD statements; Substitution prefixes; Using a standard COBOL compile/link/go procedure.
Catalogued procedures are widely used in z/OS. This segment deals with all aspects of them, including creating, testing and modification.
Conditional JCL Statements
The general construct; Name field; Relational-expression field; Relational-expression keywords; Comparison operators; Logical operators; NOT operator; Order of priority of operators; Parentheses; THEN and ELSE clauses; Contents of THEN and ELSE clauses; IF/THEN/ELSE/ENDIF and COND.
This is the IBM recommended way of coding conditional JCL. All aspects of the IF, THEN, ELSE construct are explained.
Common MVS Abend Codes
Problem handling; Program abends; Common MVS completion codes.
|