You have answer for this JOB COND parameter Question in JCL

Question: By using COND parameter how will you stop executing first job step?

Ans:

In reality, this is not possible. Always when step runs, then it generates return code. So, from second step onwards you can control the execution of steps by comparing COND parameters.

This is possible (skipping first step) with RESTART parameter in JOB card.

RESTART= Jobstep

RESTART=JOBSTEP.PROCSTEP

I hope you enjoyed with this answer.

Advertisements

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.