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

Procedure search order


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

New User


Joined: 30 Oct 2009
Posts: 37
Location: India

PostPosted: Wed May 05, 2010 8:47 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed May 05, 2010 8:58 pm
Reply with quote

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
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Wed May 05, 2010 9:58 pm
Reply with quote

Perhaps you could benefit from the JCLLIB statement?

ref: the Manual
Back to top
View user's profile Send private message
Madhaviy

New User


Joined: 30 Oct 2009
Posts: 37
Location: India

PostPosted: Wed May 05, 2010 11:29 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed May 05, 2010 11:45 pm
Reply with quote

Hello,

Possibly use a different name/procedure for the test started task?
Back to top
View user's profile Send private message
Madhaviy

New User


Joined: 30 Oct 2009
Posts: 37
Location: India

PostPosted: Thu May 06, 2010 1:13 am
Reply with quote

Yes, i have tried that. Started $AVRS new release with a different name.

Works!!!!

Thanx
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Thu May 06, 2010 1:29 am
Reply with quote

Good to hear it is working - thank you for letting us know 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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Rotate partition-logical & physic... DB2 0
No new posts first column truncated in search result IBM Tools 13
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
Search our Forums:

Back to Top