IFJCL – Default step to consider for JCL step return code checking

The @JCL tag is used to check the return code of a previous JCL step in the current job. If the command label is not specified, the default command to check is determined by this OPTIONS keyword.

LAST_RC
Refers to the immediately preceding step.
LAST_XRC
Refers to the last step that was run and was not flushed. This is the default.
MAX_RC
Refers to the step that issued the maximum return code.