View previous topic :: View next topic
|
Author |
Message |
Madhaviy
New User
Joined: 30 Oct 2009 Posts: 37 Location: India
|
|
|
|
If the same procedure is in multiple proclibs in a concatenation, which one is picked up?
Following is the scenario:
I want to test a new version of $AVRS on my test system. For that i need to put $AVRS in proclib for the started task to start.
However there is another version of $AVRS started task running on one of the production systems. Here $AVRS is picked from a proclib that is on a shared volume and the same proclib is also in proclib concatenation in MSTJCLxx on the test system.
Now can i comfortably put my new $AVRS in a proclib that is above in MSTJCL and can i start $AVRS and be sure that the newer one is picked up. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
well to save you the wretched work and tiresome research,
in any concatenation, ----jcllib, loadlib, proclib, syslin, sysin, etc...
for any reason, ---jcl, objects, loads, procs, etc...
the first is always searched first. |
|
Back to top |
|
|
Ronald Burr
Active User
Joined: 22 Oct 2009 Posts: 293 Location: U.S.A.
|
|
|
|
Perhaps you could benefit from the JCLLIB statement?
ref: the Manual |
|
Back to top |
|
|
Madhaviy
New User
Joined: 30 Oct 2009 Posts: 37 Location: India
|
|
|
|
Ronald,
Not sure how i can use JCLLIB here.
When i issue command Start $AVRS, system searches for procedure $AVRS in the proclibs.
I am not using a job where i can specify JCLLIB.
Hunny |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Possibly use a different name/procedure for the test started task? |
|
Back to top |
|
|
Madhaviy
New User
Joined: 30 Oct 2009 Posts: 37 Location: India
|
|
|
|
Yes, i have tried that. Started $AVRS new release with a different name.
Works!!!!
Thanx |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Good to hear it is working - thank you for letting us know
d |
|
Back to top |
|
|
|