JCL Introduction

JCL Tutorial Topics Index JCL Coding Sheet

Advertisements


JCL mainly stands for Job Control language.

JCL mainly used to define and control the job for to execute the program to get the desired output.

JCL is combination of steps where each step has a specific task to complete.

JCL links the program and input/output files in batch environment.

JCL acts as a bridge between the Operating System and program.

JCL may contain more than one step and up to 255 steps.

JCL mainly contains majorly three parts.

  1. JOB Card
  2. EXEC
  3. DD

JCL must begin with JOB Card and end with’//’.

JCL Coding sheet/JCL Statement:

	1& 2 Columns - 	Every line of coding in the JCL should start with //.
		// are mandatory for every line in the JCL except input cards. 
	3 	- 	* in third column will indicate that the line is comment. 
	4-10	- 	Name field
	11 	- 	One space should be existed in between the Name and 
			Operation. 
	12-15 	- 	Operation 
	16 	- 	One space should be existed in between the Operation and 
			Operands.
	17-71 	- 	Operand
	72	-	Continuation column

If the operands was more than one line those can continue from the next line which can start from 4 to 16, but the current statement end with ‘,’ at the 72 column.

Uses of JCL:

Compile a COBOL program.

Run a COBOL program.

To create datasets. i.e. PS and PDS.

To create GDG’s and VSAM files.

To concatenate data from multiple files.

To merge data from multiple files.

To execute the utilities.

To COPY data from one file to another file.


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


JCL Tutorial Topics Index JCL Coding Sheet

Advertisements