JCL Keyword parameters

Jobcard Positional Parameters JCL - ADDRSPC

Advertisements


The parameters apart from positional parameters in JOB Statement are called as Keyword parameters.

All Keyword parameters are optional.

Keyword parameters can be coded in any order.

Keyword parameters follow positional parameter programmer name.

Each keyword parameter separated by comma (,).

Information passed in Keyword parameters used by the JCL language.

Keyword parameters information applies to all steps in the JOB.

Keyword parameters can be specified at the JOB card or at step level.

If keyword parameter coded at both places (JOB card and step level), step level is the first priority and next JOB card level.

Each keyword parameter is independent and not dependent on any other parameters.

Keyword parameters are more than 20.

However the below parameters are mainly used.



The parameters for Cards or Tapes which are not used now a day.


The below are the list of those parameters and just provided a brief.


  • CARDS - Used to specify the maximum amount of output in thousands of bytes to be printed on cards and almost having the same functionality as BYTES.
  • CCSID - Supports data conversion on access to ISO/ANSI Version 4 tapes using access methods BSAM or QSAM, but not using EXCP

Let us discuss in detail about each parameter in further chapters.


Example:

Simple JCL to explain different JCL statements.


=COLS> ----+----1----+----2----+----3----+----4----+----5----+----6----+----7--
****** ***************************** Top of Data ******************************
000001 //MTHUSERR JOB (META007),'PAWAN Y',CLASS=A,MSGCLASS=L,MSGLEVEL=(1,1),   
000002 //             TIME=1440,NOTIFY=&SYSUID                                 
000005 //*                                                                     
000006 //*        EXAMPORG RUNNING STEP                                        
000007 //*                                                                     
000008 //STEP01  EXEC PGM=EXAMPROG                                             
000009 //STEPLIB  DD  DSN=MTHUSER.TEST.LOADLIB,DISP=SHR                        
000010 //INPFILE  DD  DSN=MTHUSER.EXAMPROG.INPUT,DISP=SHR                      
000011 //OUTFILE  DD  DSN=MTHUSER.EXAMPROG.OUTPUT,                             
000012 //             DISP=(NEW,CATLG,DELETE),                                 
000013 //             UNIT=(SYSDA,20),                                         
000014 //             SPACE=(CYL,(50,25)),                                     
000015 //             DCB=(RECFM=FB,LRECL=80,BLKSIZE=0,BUFNO=2)                
000016 //*                                                                     
000017 //SYSPRINT DD  SYSOUT=*                                                 
000018 //SYSUDUMP DD  SYSOUT=*                                                 
000019 //SYSOUT   DD  SYSOUT=*                                                 
****** **************************** Bottom of Data ****************************


Jobcard Positional Parameters JCL - ADDRSPC

Advertisements