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
 

 

override JCLLIB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 190
Location: hyderabad

PostPosted: Thu Mar 17, 2005 5:32 pm    Post subject: override JCLLIB
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    Post subject:
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    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 Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts Compiler option for override the exte... muralikrishnan_new COBOL Programming 9 Fri Jul 08, 2016 12:09 pm
No new posts Symbolic OverRide within a 'Include' ... Sysaron JCL & VSAM 7 Thu Aug 27, 2015 10:51 pm
No new posts Help in File Tailoring services ( Ove... thesumitk TSO/ISPF 8 Wed Jun 17, 2015 12:04 pm
No new posts Override Condition code richards12388 JCL & VSAM 3 Sat May 16, 2015 9:47 am


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