Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Job Lib and Step Lib

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
azar.mhd

New User


Joined: 22 Feb 2010
Posts: 14
Location: Hyderabad

PostPosted: Fri Mar 19, 2010 9:22 am    Post subject: Job Lib and Step Lib
Reply with quote

Hi,

In my JCL programe i have JCLLIB and STEPLIB. Which one will override another. Can any one explain with example.

Thanks in advance.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Mar 19, 2010 9:34 am    Post subject:
Reply with quote

Hello,

Your topic mentions Job Lib and your post mentions JCLLIB and STEPLIB. . .

At the top of the page is a link to "IBM Manuals". Look in the JCL manual for your environment and read about these.

If you find something in the manual that is not clear, post what you found and your doubt about it. Someone will be able to clarify.
Back to top
View user's profile Send private message
chopadevaibhav

New User


Joined: 07 Jan 2008
Posts: 5
Location: pune

PostPosted: Fri Mar 19, 2010 2:18 pm    Post subject:
Reply with quote

If your using JOBLIB and STEPLIB then STEPLIB will override the JOBLIB.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Mar 19, 2010 2:53 pm    Post subject:
Reply with quote

Please not again - this topic is discussed many many times in this Forum. Please search the Forum, a search on key word "joblib" or "jcllib" and "Forum: JCL" must give you enough to go.

Here are some links for your reference:
http://www.ibmmainframes.com/viewtopic.php?t=16725&highlight=joblib
http://www.ibmmainframes.com/viewtopic.php?t=44873&highlight=joblib
http://www.ibmmainframes.com/viewtopic.php?t=32819&highlight=joblib

If after reading through the manuals, as Dick has said, and the links you get - you still have some doubts, post us back with what you've analysed...icon_smile.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Mar 19, 2010 3:03 pm    Post subject:
Reply with quote

chopadevaibhav wrote:
If your using JOBLIB and STEPLIB then STEPLIB will override the JOBLIB.
"Override" has a different meaning when you are talking about JCL - If a STEPLIB DD is specified in a job that also has a JOBLIB, the STEPLIB takes precedence when searching for a program - it does not "override" anything.
Back to top
View user's profile Send private message
parsesource

New User


Joined: 06 Feb 2006
Posts: 97

PostPosted: Fri Mar 19, 2010 9:41 pm    Post subject:
Reply with quote

Anuj Dhawan wrote:
chopadevaibhav wrote:
If your using JOBLIB and STEPLIB then STEPLIB will override the JOBLIB.
"Override" has a different meaning when you are talking about JCL - If a STEPLIB DD is specified in a job that also has a JOBLIB, the STEPLIB takes precedence when searching for a program - it does not "override" anything.


it does. if steplib is present in in a jobstep then joblib is ignored
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Mar 19, 2010 10:14 pm    Post subject:
Reply with quote

Hello,

Quote:
it does. if steplib is present in in a jobstep then joblib is ignored
Well, joblib is ignored, but this is not an override. Override has a specific meaning and this is not it. . .

Please re-read what Anuj posted. . .
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Sat Mar 20, 2010 1:38 am    Post subject:
Reply with quote

I think override can be used to describe this action where one DD replaces the other.

The MVS JCL manual even uses the term "override" when describing how the STEPLIB causes the JOBLIB to be ignored!

It's not like we're discussing generations and versions. icon_wink.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Mar 20, 2010 2:04 am    Post subject: Reply to: Job Lib and Step Lib
Reply with quote

Quote:
The MVS JCL manual even uses the term "override" when describing how the STEPLIB causes the JOBLIB to be ignored!
Yup. . . Rather a shame when the vendor manuals slip into vernacular. . . Possibly authored by someone of limited experience.

Possibly, it has also been corrected in the "current" JCL manual:
Quote:
13.2.5 Relationship of a JOBLIB to a STEPLIB

Use a STEPLIB DD statement to define a private library for one job step in a job. If you include a STEPLIB DD statement for a job step and a JOBLIB DD statement for the entire job, the system first searches the step library and then the system library for the requested program. The system ignores the job library for a step that has a STEPLIB DD statement.


My preference would be the more strict terminology rather than letting more things become acceptable just because many (new) people mis-use a term.

However - As "they" say - nothing is sacred icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us