You have a JCL job with three steps. How would you use the COND parameter to ensure that the second step is executed only if the first step abends?

  • Use COND=(0,EQ) on the second step
  • Use COND=(0,NE) on the second step
  • Use COND=(4,EQ) on the second step
  • Use COND=(4,NE) on the second step
The COND parameter in JCL is used to conditionally execute a step based on the return code of a preceding step. COND=(4,EQ) means execute if the return code is 4 (abend).
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *