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

override JCLLIB


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

Active User


Joined: 17 Oct 2004
Posts: 191
Location: hyderabad

PostPosted: Thu Mar 17, 2005 5:32 pm
Reply with quote

Hi all

as STEPLIB overrides JOBLIB ,is there any way
to override the JCLLIB

the situation is i have 2 proc with same name residing in 2 diferent libraries(ie library1,library2),
the job looks in library1 for all proc
but one of the steps need to refer the the Library...

Ever if i give 2 libraries in ORDER it takes the library1 proc


Thanks
Siva
Back to top
View user's profile Send private message
rick

New User


Joined: 18 Jun 2004
Posts: 59
Location: Chennai

PostPosted: Thu Mar 17, 2005 5:58 pm
Reply with quote

Hi,

There is no overriding for JCLLIB statement. Instead you could specify both the Library in order statement. In case if both the library contains the same procedure name , the search order will be left - to- right position in the ORDER clause.

Consider u have the same procedure in both the library,
In case if u want execute the proc from Library1 it should be
Quote:

// JCLLIB ORDER=(library1,library2)


In case if u want execute the proc from Library2 it should be
Quote:

// JCLLIB ORDER=(library2,library1)



Thanks and Regards,
Fredeick
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 AN OVERRIDE MAY NOT TARGET OVERRIDING... JCL & VSAM 1
No new posts Compare Two datasets and Override Mat... DFSORT/ICETOOL 7
No new posts proc step return code to override in ... JCL & VSAM 3
No new posts IEHPROGM ENQUEUE OVERRIDE JCL & VSAM 4
No new posts Can DFSPARM override SORTKEYS paramet... DB2 2
Search our Forums:

Back to Top