JCL Coding Sheet

JCL Introduction JCL Structure

Advertisements


JCL each statement can be divided into four types.

  1. Name field
  2. Operation
  3. Operand
  4. Comments

Let's discuss one by one.

Name Field:

Name field is of length 8 characters.

Name is nothing but DD name or step name.

Allows the combination alphabets, numbers, @, # and $.

First letter should not be number and special character.

Starts from 3rd character and continue up to 11 characters.

Name field is optional.

Operation:

Operation field describes about the type of operand.

Operation is nothing but JOB, EXEC, DD and PEND.

Operation is of length 4 characters.

Starts from 12th character and continue up to 15th character.

Operation is mandatory with every name field.

Operand:

Operand describes the parameters for the operation.

Operand starts at 17th column and continue up 72 columns.

Operand can end at any column between 17th to 72 columns.

Operand field is mandatory if operation field is specified.

If the operand is more than 55 characters, it can be continued in the next line. But need to do two things.

1. Current statement should end with ‘,’ in 72 column if current operand is more than 55 characters.

2. The remaining operand can start from 17th column in the next line.

Comment:

Comment used to make a note of current statement.

Comment should start with * in the third column.

Comment can be code in any column between 17th to 72 columns.

Note:  If the Null indicator (//) alone coded in the Job, then it will treat as End of the JOB


If any questions on the above, post your queries on Jcl Discussion forum


JCL Introduction JCL Structure

Advertisements