Multiple choice technology mainframe

If both the JOBLIB & STEPLIB statements are coded in a step, which will be executed?

  1. the one coded first in the JCL stream

  2. both the statements will be executed in sequence

  3. JOBLIB

  4. STEPLIB

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

When both JOBLIB and STEPLIB statements are coded in a step, STEPLIB takes precedence and is executed. STEPLIB overrides JOBLIB for that specific step. JOBLIB applies to the entire job, but STEPLIB has higher priority within a step.