View previous topic :: View next topic
|
Author |
Message |
Prabha Warnings : 2 New User
Joined: 05 Dec 2005 Posts: 79
|
|
|
|
Hi,
I have coded both job lib and step lib.
Step lib will override joblib right???
\\jobname job ..
\\joblib dd dsn=joblib dataset
\\ step exec pgm =xxx
\\steplib dd dsn=steplib dataset
If my pgm is not available in step lib dataset, in this case what will happen?? Will it search in job lib dataset?? I dont think so..
Because If steplib overrides joblib means, then it should show pgm not found right??
Kindly help me out this. |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
If you think something like this, then just try it out to confirm.
Steplib is not actually override joblib, you are just changing the search preference for that step.
If you give steplib then the program will be searched first in steplib and if not found then it looks in joblib. |
|
Back to top |
|
|
Prabha Warnings : 2 New User
Joined: 05 Dec 2005 Posts: 79
|
|
|
|
Thank u !!! |
|
Back to top |
|
|
mohanbabu_ib Warnings : 1 New User
Joined: 22 Jun 2007 Posts: 8 Location: chennai
|
|
|
|
Hi,
When you override the joblib using steplib the jcl will search for the program in steplib only and if it is not there, then the job will abend.
I have experienced similar abends like this. In such case we need to include the pds (where the module is present) in the joblib, in the steplib itself.
something of this sort..
//steplib dd dsn=PDS to override the joblib
// dd dsn=PDS specified in the joblib.
Hope this will help. |
|
Back to top |
|
|
|