BT03 - z/OS JCL Workshop - 2 Days

Course Description

The course is aimed at developers new to the z/OS development environment and covers the understanding and writing of JCL. The course teaches the writing of JCL statements using the options and parameters available, and the creation of in-stream and cataloged procedures including the use of symbolic parameter substitution. Whilst covering the basics of JCL and how it is used, this course also aims to give an insight into manipulating data and datasets, writing and testing JCL.


Pre-requisites

An understanding of mainframe concepts.


Objectives

Whilst covering the basics of an Introduction to IT, this course also aims to give an insight into the software used on both mainframes and PCs and how each piece of software interacts with each other.

On completion of this course the student will be able to:

  • Understand and code a valid JCL JOB statement
  • Understand, code and execute simple JCL jobs
  • Understand, code and execute JCL using Generation Data Groups
  • Understand, code and execute JCL in-stream and catalogued procedures using symbolic variables
  • Understand, code and execute JCL dynamically overriding JCL parameters
  • Understand, code and execute JCL using JCLLIB, INCLUDE and SET Statements


Environment

Development will be performed using:

  • IBM Mainframe


Customisation

For on-site courses (i.e. at your premises), we are more than happy to tailor the course agenda to suit your exact requirements. In many cases, we are able to build your in-house standards and naming conventions into the delivered course.


Course Details

INTRODUCTION TO JCL
Job Control Language
Job Control Language Terminology
JCL Statements

JOB STATEMENT
Job Statement
Job Operands
Job Account / Accounting Information
Programmer Name
Class
Msgclass
Msglevel
Notify
Typrun
Perform
Prty
Region
Time
Bytes And Lines
Cards
Pages
User
Group
Password
Restart

EXEC STATEMENT
Exec Statement
Exec Operands
PGM & Proc
Parm
Time & Region
Acct
Cond
If / Else Condition Code Testing

DD STATEMENT
DD Statement
DD Operands
DDNames
Dsname or Dsn
Reserved DDNames
Disp
Space
DCB
Lrecl, Recfm and BLKSIZE
Volume
Label
Unit
Expdt
Retpd
Temporary Datasets
Refer Back
JCL Modifications When Using SMS
SMS Parameter
Dataclas
Mgmtclas
Storclas
Avgrec
Dsntype

OTHER JCL STATEMENTS
Statement Continuation
Comments
Delimiter
The NULL Statement
Dataset Concatenation

SPECIAL DD NAMES
Sysin DD Name
Sysout DD Name
Joblib/Steplib
Sysudump, Sysabend, Sysabout and Sysdbout
Sysmdump

SPECIAL DATASETS
In-Stream Dataset / Delimiters
Data Dataset Name
Print and Punch Datasets - Sysout
Sysout Dataset
Copies
Dest
Fcb
Hold
Outlim
Output
DUMMY Dataset
Nullfile Dataset

GENERATION DATA GROUPS
GDG Overview
GDG Base Entries - Create
GDG Base Entries - Delete
Referring To GDGS
Model DSCB

PROCEDURES AND INCLUDES
Procedures
In-Stream Procedures
Cataloged Procedures
Locating Cataloged Procedures - Jcllib Statement
Dynamically Modifying Procedures - Overriding
Symbolic Variables
Sysuid Variable
Include Statement
Set Statement

JES STATEMENTS
Jes2 Commands
Jes3 Commands
Jes Statements in JCL
Jobparm Statement
QUEUE Keyword
AFTER Keyword
CARDS Keyword
Lines Keyword
TAPES Keyword
OUTPUT Statement
ROUTE Statement
Message Statement
Priority Statement

IEBGENER
Purpose
IEBGENER Copy
IEBGENER JCL Statements
IEBGENER Control Statements
Generate
Changing The Blocksize Of A Dataset
Creating Different PDS Members From One Source
Reformatting Records

IEFBR14
IEFBR14

SORT
Purpose
Sort
Merge
Copy
Sort JCL Statements
Sort Work Files
Allocating Sort Work Files
Improving Sort Performance
Sort Control Statements Format
Sort Control Statements
Altseq
Debug
End
Include/Omit
Inrec/Outrec
Merge
Mods
Option
Record
Sort
Sum
Sorting Files

SDSF
SDSF
Console Messages
Jes Job Statistics
JCL Listing
Allocation/Termination Messages
SDSF Access
Primary Menu
Input Queue
Active Jobs
Held Output Queue
Output Queue
Status
Job Selection
Job Filtering
Pre Command
Owner Command


Course Enquiry