JCL Basics What is JCL? Job Entry Subsystem Job Processing JCL Statements JCL Parameters JOB Statement Job Statement Parameters for Job Positional Parameters ACCT NAME Keyword Parameters MSGLEVEL MSGCLASS TYPRUN PRTY CLASS RESTART REGION TIME NOTIFY EXEC Statement EXEC Statement Positional Parameters PGM PROC Keyword Parameters COND PARM ADDRSPC DD statement DD statement DD Parameters SPACE SYSIN VOL DCB SYSOUT DSN UNIT DISP |
Format of JCL statements • A JCL statement is divided into five fields. – Identifier – Name – Operation – Parameter – Comment Some of these fields may not appear in all the statements • Example: //JXYZ JOB12345,GANESH, FOUFRNZ Identifier Name Operation Parameters Comments Identifier field • Identifies a statement as a JCL statement and indicates it is not a data • It is generally coded in the first 2 or 3 columns of the JCL statement. – ‘//’ in the columns 1 & 2 indicates it is a JCL statement that will be processed by JES. – ‘/*’ in the columns 1 & 2 indicates it is a delimiter. It could also be the value defined in DLM parameter. – ‘//*’ in the columns 1, 2 & 3 indicates that the line is a comment. Name field • Identifies a JCL statement with a name for reference from other statements if necessary. • The name field is coded as follows: – It can be 1-8 characters long. – Begin the name field in column 3 with an alphabet or a national character($, #, @). – It can have alphabets, numbers and nationalcharacters($, #, @) – The name must be followed by at least one blank. Parameter or operand field • Contains the list of parameters delimited by commas. • The parameter field is coded as given below: – The parameter field is coded after the operation field. – There must be at least one blank (or space) between the name and parameter field. Operation field • Specifies the operation performed by the statement, i.e. the type of statement or the command • The operation field is coded as follows: – The operation should be one of those fixed operations which are understood by the system. – There must be a blank (or space) before and after the operation field. Comment field • May be used to give details about the statement. • The comment field is coded as given below: – It is coded after the parameter field. – There must be a blank (space) between the parameter field and the comment field • Note: The comment field can span across more than one line. |
Copyright.
All the contents of this website are designed by owner of this website. The material cannot be used to display on any other website without the owners permission.
All the contents of this website are designed by owner of this website. The material cannot be used to display on any other website without the owners permission.