Monday, 6 April 2015

JCL interview questions

What is the function of DD DISP parameter?
DISP parameter has 3 values. 

First value specified status of the dataset. It can be NEW, OLD or MOD.
Second value tells the system what to do with the dataset following normal termination of the step. It can be one among CATLG, DELETE or PASS.
Third value tells the system what to do with the dataset following abnormal termination of the step. It can be one among CATLG, DELETE or PASS.

How can a job send a status message to a TSO user at the completion of a job ?
Using NOTIFY parameter in JOB statement.

How can we control the execution of a particular step?
By using COND parameter