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



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

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

Postby er.manishawasthi » Sun Aug 17, 2008 7:29 pm

What is STEPLIB, JOBLIB? What is it used for?
er.manishawasthi
 
Posts: 30
Joined: Sun Jun 29, 2008 7:36 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby dick scherrer » Sun Aug 17, 2008 10:57 pm

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?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

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

Postby Anuj Dhawan » Mon Aug 18, 2008 3:53 pm

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...
Anuj
Anuj Dhawan
 
Posts: 273
Joined: Mon Feb 25, 2008 3:53 am
Location: Mumbai, India
Has thanked: 6 times
Been thanked: 4 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post