Libraries IQ for Freshers


STEPLIB -

What is STEPLIB? What is it used for?

It is used to specify user-defined load library at the step level. When the job is submitted for execution, the system will search these libraries to find the load module of the program running at the step.

Is STEPLIB mandatory?

Optional.

JOBLIB -

What is JOBLIB? What is it used for?

It is used to specify user-defined load library at the job level. When the job is submitted for execution, the system will search these libraries to find the load module of the program running at each step.

Is JOBLIB mandatory?

Optional.

JCLLIB -

What is the significance of JCLLIB?

It is used to specify the private libraries that contain the cataloged procedures.

PROCLIB -

What is the significance of PROCLIB?

It is used to specify a user-defined library where commonly used procedures are stored. It is a collection of reusable procedures, also known as cataloged procedures, that multiple jobs can call.

COPYLIB -

What is the significance of COPYLIB?

It is is used to specify the copybook library in the compilation step of the JCL. It is a PDS, and each member contains the copybook layout that is used by many application programs.

Common Questions -

What is order of searching of the libraries in a JCL?

First checks in STEPLIB of the step. Secondly, checks the libraries in the same order how they coded in JCLLIB.

What happens if both JOBLIB and STEPLIB is specified?

For the perticular step, STEPLIB is considered.

State difference between JOBLIB and the STEPLIB statements?

JOBLIB applies to all the steps of the JCL. STEPLIB applies to one perticular step where it coded.

Frequently Asked Questions -

Explain the difference between JOBLIB and the STEPLIB statements?
What is the difference between the JOBLIB and the STEPLIB statements?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?