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
 

 

program not found in steplib but found in joblib

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

New User


Joined: 05 Dec 2005
Posts: 79

PostPosted: Sun Jun 24, 2007 11:36 am    Post subject: program not found in steplib but found in joblib
Reply with quote

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
View user's profile Send private message

Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Sun Jun 24, 2007 11:54 am    Post subject:
Reply with quote

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
View user's profile Send private message
Prabha
Warnings : 2

New User


Joined: 05 Dec 2005
Posts: 79

PostPosted: Sun Jun 24, 2007 4:05 pm    Post subject: Re: program not found in steplib but found in joblib
Reply with quote

Thank u !!!
Back to top
View user's profile Send private message
mohanbabu_ib
Warnings : 1

New User


Joined: 22 Jun 2007
Posts: 8
Location: chennai

PostPosted: Sun Jun 24, 2007 8:21 pm    Post subject:
Reply with quote

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
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 Record Not found in AlX but record re... mukun264 COBOL Programming 2 Fri Mar 24, 2017 9:28 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm


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