View previous topic :: View next topic
|
Author |
Message |
ram_vizag
Active User
Joined: 21 Aug 2008 Posts: 112 Location: hyd
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3076 Location: NYC,USA
|
|
Back to top |
|
|
Chetan Kumar
New User
Joined: 03 Dec 2012 Posts: 46 Location: India
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|