Multiple choice technology mainframe

What happens if both JOBLIB and STEPLIB is Specified?

  1. STEPLIB is ignored.

  2. JOBLIB is ignored.

  3. JOB Abends.

  4. None of the above.

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

When a JCL job defines both JOBLIB and STEPLIB, STEPLIB overrides JOBLIB for that specific job step. Consequently, JOBLIB is ignored during the execution of that step. The other options are incorrect because STEPLIB takes precedence, rather than being ignored or causing the job to abnormally end.