Page 1 of 1

What is STEPLIB, JOBLIB? What is it used for?

PostPosted: Sun Aug 17, 2008 7:29 pm
by er.manishawasthi
What is STEPLIB, JOBLIB? What is it used for?

Re: What is STEPLIB, JOBLIB? What is it used for?

PostPosted: Sun Aug 17, 2008 10:57 pm
by dick scherrer
Hello,

JOBLIB and STEPLIB are ways to tell the system where to look (which libraries) for programs that are executed.

Look here:
http://publibz.boulder.ibm.com/cgi-bin/ ... b540/2.2.1?

Re: What is STEPLIB, JOBLIB? What is it used for?

PostPosted: Mon Aug 18, 2008 3:53 pm
by Anuj Dhawan
Hi,

In addition to Dicks' reply -

The STEPLIB DD statement is used to identify a program library to search first when attempting to locate programs executed during the job step. The STEPLIB can be placed anywhere in the step's JCL. More than one program library can be concatenated after the first one on a STEPLIB.

If a STEPLIB DD is specified in a job that also has a JOBLIB, the STEPLIB takes precedence when searching for a program.

The JOBLIB DD statement is used to identify a program library to search first when attempting to locate programs executed during the job's life. The JOBLIB must be placed after the JOB statement and before the first EXEC statement in the job. More than one program library can be concatenated after the first one on a JOBLIB.

Hope this helps...