Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Procedure search order

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Procedure search order
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    Post subject:
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed May 05, 2010 11:45 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Thu May 06, 2010 1:29 am    Post subject: Reply to: Procedure search order
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    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 Order BY AND Index Nileshkul DB2 2 Sat Dec 31, 2016 6:33 pm
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
No new posts Is possible to call subprogram from c... cmsmoon COBOL Programming 3 Fri Aug 05, 2016 6:46 pm
No new posts Search a Load Module sreekanth1984 TSO/ISPF 8 Tue Jun 07, 2016 8:45 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us