Which of the following conditional expressions can not be used with an IF-THEN-ELSE-ENDIF construction?
-
STEP.RC NE 8
-
ABEND = FALSE
-
STEP.CC = U4038
-
STEP.RUN EQ TRUE
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.