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

STEP.RC NE 8 (return code not equal to 8), ABEND = FALSE (abend condition check), and STEP.RUN EQ TRUE (step ran successfully) are all valid relational expression formats for IF statements. STEP.CC = U4038 is INVALID because system condition codes (CC) require relational operators like GT, GE, LT, LE, EQ, NE - they cannot be assigned string values like 'U4038'.