Multiple choice technology mainframe

Which of the following concerning the COND parameter are true on EXEC statement level?

  1. The COND parameter always indicates that if its condition is met, the step is NOT executed.

  2. When adding the COND parameter to an EXEC statement that calls a procedure, this COND

  3. With the COND parameter, we can only check return codes.

  4. The COND parameter can check the return codes of multiple steps, but as soon as one of

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

The COND parameter controls conditional step execution based on previous step return codes. Option B is correct because a COND parameter on an EXEC calling a procedure applies to ALL steps in that procedure, not just the first. Option D is correct because COND can test multiple step return codes - if any condition is true, the step is bypassed. Option A is incorrect because COND only skips execution when its condition evaluates TRUE (meaning the condition was met). Option C is incorrect because COND tests return codes, not just checks them - it evaluates whether codes meet specified comparison criteria (EQ, NE, GT, LT, GE, LE).