If condition is given in job step, what about first step, whether the condition is checked for it or not? If checked then with which return code is it compared?

Showing Answers 1 - 4 of 4 Answers

Lazar Kaplansky

  • Sep 18th, 2006
 

COND= compares return-code from previous step(s) with a value; it does not make sense using COND= in first step of the job as the parameter will only be checked for correct syntax and ignored by the JES. 

  Was this answer useful?  Yes

guraddiv

  • Jan 5th, 2011
 

Coding COND parameter in the JOB card means whenever any of the steps inside the job satisfies the COND value, then all the steps following it are bypassed. 


Hence even though you code COND parameter in the JOB card, first step will be executed.

But in case of STEP card, if you code COND parameter then previous step return code will be checked.

I hope this clears your query.  

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions