Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 6968
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 HEX value search in a DB2 query maxsubrat DB2 2 Wed Oct 04, 2017 3:04 pm
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm
No new posts Sorting on text - but in non-alphabet... Roy Ware SYNCSORT 5 Wed Aug 23, 2017 9:15 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us