Multiple choice technology programming languages

Inorder to not execute a step in the job after a return code of 8 in step1, what the step2 EXEC statement include?

  1. COND = (8,NE)

  2. COND = (8,GE)

  3. COND = (8,EQ)

  4. A & b

  5. B & c

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

In JCL, the COND parameter on EXEC statement tests return codes from previous steps. When the condition evaluates to true, the step is skipped. COND=(8,GE) skips if return code is greater than or equal to 8, while COND=(8,EQ) skips only if return code equals 8. Both would prevent step2 execution when step1 has return code 8.