Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us