0% found this document useful (0 votes)
95 views

JCL Sta

The document discusses the Job Control Language (JCL) used on mainframe systems, including the JOB, EXEC, and DD statements used to initiate and run jobs, as well as common JCL parameters. It also outlines several mainframe utilities like IDCAMS, IEBCOPY, IEHLIST, and SORT that can be used to manage datasets, copy and list files, and sort data. Mainframe volumes can be initialized and maintained using utilities like ICKDSF, IEHINITT, and ADRDSSU.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
95 views

JCL Sta

The document discusses the Job Control Language (JCL) used on mainframe systems, including the JOB, EXEC, and DD statements used to initiate and run jobs, as well as common JCL parameters. It also outlines several mainframe utilities like IDCAMS, IEBCOPY, IEHLIST, and SORT that can be used to manage datasets, copy and list files, and sort data. Mainframe volumes can be initialized and maintained using utilities like ICKDSF, IEHINITT, and ADRDSSU.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

JCL JCL is an Scripting Language which is used to guide the mainframe system for doing Os related job.

. All JCL statements should start with // and the space should be included only before and after the JCL statements. JCL uses three statements namely JOB, EXEC and DD. The JOB statement is used to initiate the job to the system and also mainly used for billing user. The positional parameters of the JOB statements are Account information and Authors Name. The keyword parameters of the JOB statements are CLASS, MSGCLASS, MSGLEVEL, NOTIFY, TIME, REGION, TYPRUN, PRTY, etc. CLASS MSGCLASS MSGLEVEL NOTIFY TIME REGION TYPRUN PRTY used to assign the Logical Initiator for the job. used to assign the O/P device to print the Messages. used to mention which type of messages should be printed. used to notify the user about the return code of JCL. used to allot time for the completion of the complete JCL. used to allot space for the execution of the complete JCL. used to specify whether the job is to be hold or to scan for errors. used to set the priority for the Logical Initiator from 0 to 15.

The EXEC statement is used to execute program or procedure. The positional parameters of the EXEC statement are PGM and PROC. The keyword parameters of the EXEC statement are TIME, REGION, DPRTY, RD, PERFORM etc. DPRTY PERFORM RD used to allot the priority for the step. used to specify the rate at which the system resource used by job step. used to specify the automatic restart of a job if it abends.

The DD statement is used to identify the source of input and the placement of output information. The positional parameters of the DD statement are *, DATA, DUMMY, DYNAM. The keyword parameters of the DD statement are DSN, DISP, DCB, SPACE, UNIT, VOLUME, etc. DSN used to specify the data set name. DISP used to specify the disposition of data set. DCB used to specify the record length, record format, block size etc. SPACE used to allocate the space for the data set. UNIT used to specify the device address / TAPE. VOLUME used to specify the volume serial number where the data set resides. The utilities like IDCAMS are available in SYS1.LINKLIB.

The SYS1.PROCLIB has the cataloged procedures. JCL PARAMETERS SYNTAX CLASS=jobclass (A to Z or 0 to 9) MSGCLASS=o/p_class_name (A to Z or 0 to 9) MSGLEVEL=(statements,messages) (statements 0 to 2 and messages 0 to 1) Statements 0 prints only the JOB statement. 1 prints the JCL and the control statements of JES2 or JES3. 2 prints only the input JCL statements. Messages 0 1 TYPRUN=HOLD/SCAN HOLD SCAN PRTY/DPRTY=prty_num prints abnormally terminated JCL messages. prints both normal and abnormally terminated JCL messages. holds the job until the further notice. scans for syntax errors. (0 to 15)

UTILITIES UTILTIES IEFBR14 IEBCOPY IEBGENER IEHLIST IEHPROGM IDACAMS SORT IFASMFDP ICHDSM00 ICKDSF IEHINITT ADRDSSU DFHCSDUP USES To create or delete data set. SYSIN DD DUMMY is compulsory. To copy one PDS to another or to merge PDS's. To copy PS data set or PDS data set member. To list the entries of Catalog/VTOC or members of PDS/PDSE using LISTCTLG, LISTVTOC or LISTPDS. To CATLG, UNCATLG, SCRATCH, RENAME. To create PS, PDS or VSAM (CTLG, VTOC) data sets To sort the data in a certain order. To clear DUMP of the data set. To create RACF related report (RACF Data Security Monitor). To initialize the 3350 or 3380 DASD volume. To initialize TAPE volume. To compress, De-fragment, Release, Copy, Move, Backup, Restore etc. CICS off-line resource definition utility.

You might also like