Latest JCL Interview Questions and Answers

Read Top JCL Interview Questions and Answers Experienced, Freshers for Job Interview Quiz with Solutions.

What does the TIME parameter signify? What does TIME=1440 mean?

TIME parameter can be used to overcome S322 abends for programs that genuinely need more CPU time. TIME=1440 means no CPU time limit is to be applied to this step.

What happens if both JOBLIB & STEPLIB is specified?

JOBLIB is ignored.

What is the difference between a symbolic and an override in executing a PROC?

A symbolic is a PROC placeholder; the value for the symbolic is supplied when the PROC is invoked, eg &symbol=value An override replaces the PROC’s statement with another one; it substitutes for the entire statement


This is a new file and create it, if the step terminates normally, pass it to the subsequent steps and if step abends, delete it. This dataset will not exist beyond the JCL.

What is COND=EVEN?

Means execute this step even if any of the previous steps, terminated abnormally.

When you specify mutiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

The library with the largest block size should be the first one.

What is RESTART? How is it invoked?

A RESTART is a JOB statement keyword It is used to restart the job at a specified s step rather than at the beginning

How do you create a temporary dataset? Where will you use them?

Temporary datasets can be created either by not specifying any DSNAME or by specifying the temporary file indicator as in DSN=&&TEMP.

We use them to carry the output of one step to another step in the same job. The dataset will not be retained once the job completes.

What is COND=ONLY?

Means execute this step only if any of the previous steps, terminated abnormally.

How to change default proclib?


What is a GDG? How is it referenced?How is it defined? What is a MODELDSCB?

GDG stands for generation data group It is a Data Set with versions that can be referenced absolutely or relatively It is defined by an IDCAMS define generation datagroup execution.

How do you restart a proc from a particular step?

In job card, specify RESTART=procstep.stepname

where procstep = name of the jcl step that invoked the proc

and stepname = name of the proc step where you want execution to start

How do you check the syntax of a JCL without running it?

TYPERUN=SCAN on the JOB card or use JSCAN.

The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens?

Records will be written to end of file (append) when a WRITE is done in both cases.

How do you skip a particular step in a proc/JOB?

Can use either condition codes or use the jcl control statement IF (only in ESA JCL)


Popular posts from this blog

TOP Agile Testing Interview Questions and Answers

Latest Agile Testing Interview Questions and Answers

Most Asked ADO.NET Interview Questions and Answers