sivatechdrive
Active User
Joined: 17 Oct 2004 Posts: 191 Location: hyderabad
|
|
|
|
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 |
|
rick
New User
Joined: 18 Jun 2004 Posts: 59 Location: Chennai
|
|
|
|
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 |
|