You have a JCL job with multiple steps. The third step should execute only if both the first and second steps execute successfully. How would you define this in JCL?

  • COND parameter on STEP3 specifying (0,EQ,STEP1) and (0,EQ,STEP2)
  • COND parameter on STEP3 specifying (0,GT,STEP1) and (0,GT,STEP2)
  • COND parameter on STEP3 specifying (0,LT,STEP1) and (0,LT,STEP2)
  • COND parameter on STEP3 specifying (0,NE,STEP1) and (0,NE,STEP2)
The COND parameter on STEP3 is set to execute only if both STEP1 and STEP2 complete with a return code of 0, indicating successful execution. This ensures the third step runs only when both preceding steps are successful.
Add your answer
Loading...

Leave a comment

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