Multiple choice technology mainframe

Consider the following Example IF RC < 16 THEN Step 1 Step 2 Step 3 Else Step 4 Step 5 End If What are the steps that would be executed If I restart an abended job from Step 2.

  1. a) 2,3

  2. b) 2,3,4,5,

  3. c) 1,2,3

  4. d) None of the above

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

When restarting from Step 2 inside an IF-THEN block, JCL fails to resolve the return code of the bypassed Step 1. The conditional evaluation fails or evaluates to false, causing subsequent steps in the THEN block to be bypassed or resulting in a JCL error.