Multiple choice technology mainframe

Which of the following conditional expressions can not be used with an IF-THEN-ELSE-ENDIF construction?

  1. STEP.RC NE 8

  2. ABEND = FALSE

  3. STEP.CC = U4038

  4. STEP.RUN EQ TRUE

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

IF-THEN-ELSE-ENDIF constructs in JCL can test return codes (RC), ABEND conditions, and RUN status. However, completion codes (CC) are numeric values only - they cannot be compared to alphanumeric abend codes like U4038. Option C is invalid because STEP.CC tests numeric completion codes, not user/system abend codes. Options A, B, and D are valid conditional expressions.