IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

loadmodules priority in Steplib


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ram_vizag

Active User


Joined: 21 Aug 2008
Posts: 112
Location: hyd

PostPosted: Fri Mar 23, 2018 9:21 pm
Reply with quote

HI All,

I have a very basic question. i searched for but could not find exact answer.

i have 5 version of load libraries in the a steplib and a program(load module) is present in all the verisons(or regions).

so which module will be picked by system , whether the load module from the first loadlib library OR the system will pick the recent time stamped verison of loadlib from all the libraries???

suppose prod loadlib is first and the recent timestamped (say system region) version is in the last ...which one do the system pick for execution?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Fri Mar 23, 2018 9:37 pm
Reply with quote

From the z/OS MVS JCL Reference manual (highlighting added by me):
Quote:
Relationship to other control statements

z/OS MVS JCL Reference
SA23-1385-00

Concatenating step libraries: To specify more than one private library for a step:

Code a STEPLIB DD statement.
Immediately follow this statement with DD statements that define other private libraries. Omit a ddname from these subsequent DD statements.

The system searches the libraries for the program in the same order as the DD statements.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3076
Location: NYC,USA

PostPosted: Sat Mar 24, 2018 12:01 am
Reply with quote

Quote:
I have a very basic question. i searched for but could not find exact answer
Steplib concatenation...
Back to top
View user's profile Send private message
Chetan Kumar

New User


Joined: 03 Dec 2012
Posts: 46
Location: India

PostPosted: Fri May 11, 2018 8:55 pm
Reply with quote

If the load is present in the 1st library in the order of concatenation, then it picks up that load irrespective of the time stamp.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Fri May 11, 2018 9:39 pm
Reply with quote

Quote:
If the load is present in the 1st library in the order of concatenation, then it picks up that load irrespective of the time stamp.
This is the same statement as in the manual quote I provided -- what does your post add to that?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Difference between joblib and steplib JCL & VSAM 2
No new posts CICS transaction priority CICS 7
No new posts JES2 doesn't honor the priority of th... JCL & VSAM 8
No new posts Query to select Null row on priority DB2 24
No new posts Setting up alert for high priority em... General Talk & Fun Stuff 3
Search our Forums:

Back to Top