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

In JCL IF statements, STEP.CC is not a valid conditional expression. The correct syntax for checking step completion uses STEP.RC (return code), STEP.ABEND, or STEP.ABENDCC. STEP.CC = U4038 will cause a JCL error because CC is not a recognized field.