Multiple choice technology mainframe

How can return codes be tested before execution of a job step?

  1. Through the RC keyword

  2. Through the COND keyword

  3. Through the CODE keyword

  4. Through the RETURNCD keyword

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

The COND parameter in JCL is used to test return codes from previous job steps before executing the current step. It allows conditional execution based on success or failure of prior steps. RC, CODE, and RETURNCD are not valid JCL keywords - COND is the standard mechanism for conditional step execution based on return codes.