
Send Output to the Spool With SYSOUT and MSGCLASS
Route job output to the JES2 spool with SYSOUT=* and a class, set MSGCLASS for the job log, control message volume with MSGLEVEL and read the SDSF datasets.
Tag
9 posts

Route job output to the JES2 spool with SYSOUT=* and a class, set MSGCLASS for the job log, control message volume with MSGLEVEL and read the SDSF datasets.

Create a new z/OS dataset in JCL with UNIT, SPACE, DCB and DSORG: primary and secondary space, RECFM and LRECL, and BLKSIZE=0 for the system block size.

Code the JCL DISP parameter with its status, normal and abnormal dispositions for NEW, OLD, SHR and MOD datasets, with the defaults and the job log messages.

The fixed rules of JCL syntax on z/OS: the // identifier, name, operation and operand fields, column 72, continuing a statement, and comment lines with //*.

Write a small JCL job in ISPF, submit it with the SUB command, find it in SDSF and read its return code and output, on z/OS 3.1 with JES2.

Learn what the JOB, EXEC and DD statements do in z/OS JCL, with a working copy job, a field-by-field walk through, the job log and the common mistakes.

Work out how many tracks and cylinders a z/OS dataset needs from record count, LRECL and block size on 3390 DASD, with a worked example and the SPACE parameter.

Compile and run a first COBOL program on z/OS with the IGYWCLG cataloged procedure, with the JCL, the compiler options, the output and the return codes to read.

A beginner guide to JCL on z/OS 3.1: job flow in JES2, JOB, EXEC and DD statements, datasets, utilities, procedures, conditions, output and failures.