MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Difference of using steplib and Joblib in a Job.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
baskkarsubbian
Beginner


Joined: 31 Aug 2003
Posts: 18
Topics: 12

PostPosted: Mon Sep 01, 2003 2:21 am    Post subject: Difference of using steplib and Joblib in a Job. Reply with quote

I have a joblib st and steplib st in my job. If the path specified in the steplib doesn't exist is the job takes the path from the joblib?

Job1 Job .........
joblib dd dsn = path1.bask1
dd dsn = path2.bask2
steplib dd dsn = steppath1.bask1
step1 exec pgm = prog1
step2 exec pgm = prog2

In the above example if the path specified in the prog1 doesn't exist in the steplib path is it taken from the joblibpath (path1.bask1)? Rolling Eyes
Back to top
View user's profile Send private message Yahoo Messenger
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Mon Sep 01, 2003 4:32 am    Post subject: Reply with quote

yes sir, always the steplib overrides the joblib.
________
Honda Dualnote Specifications


Last edited by coolman on Sat Mar 12, 2011 8:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
baskkarsubbian
Beginner


Joined: 31 Aug 2003
Posts: 18
Topics: 12

PostPosted: Mon Sep 01, 2003 7:33 am    Post subject: Reply with quote

I know that steplib overrides joblib. My doubt is that if the specified path doesn't exist in the steplib is it go for a joblib.

I gave both joblib and steplib for the step. Razz
Back to top
View user's profile Send private message Yahoo Messenger
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Mon Sep 01, 2003 7:44 am    Post subject: Reply with quote

Yes it does. You are right.
________
HSC engine


Last edited by coolman on Sat Feb 05, 2011 1:28 am; edited 1 time in total
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12382
Topics: 75
Location: San Jose

PostPosted: Mon Sep 01, 2003 8:24 am    Post subject: Reply with quote

baskkarsubbian,


check this link for an explanation of Relationship of a JOBLIB to a STEPLIB

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B631/13.3.5?SHELF=&DT=20030423085347

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Brian
Beginner


Joined: 12 Aug 2003
Posts: 95
Topics: 6

PostPosted: Mon Sep 01, 2003 10:30 pm    Post subject: Reply with quote

Coolman,

Accodring to baskar he has specified both JOBLIB and STEPLIB. If the load module is not found in the STEPLIB I am afraid the job is going to abend with S806.

In other words when a STEPLIB is provided the JOBLIB is ignored.

Baskar,

Did you check if your step ran successfully when the loadmodule is absent in the STEPLIB and present in the JOBLIB.

[/b]
Back to top
View user's profile Send private message
baskkarsubbian
Beginner


Joined: 31 Aug 2003
Posts: 18
Topics: 12

PostPosted: Sun Sep 07, 2003 1:05 am    Post subject: Reply with quote

my job abends but my friend didn't agree that.
can anyone clarify me with detail?
Back to top
View user's profile Send private message Yahoo Messenger
Brian
Beginner


Joined: 12 Aug 2003
Posts: 95
Topics: 6

PostPosted: Sun Sep 07, 2003 1:14 am    Post subject: Reply with quote

Baskar

Ask you friend to look into the URL provided by kolusu. That should fix his doubts.
Back to top
View user's profile Send private message
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Sun Sep 07, 2003 1:15 am    Post subject: Reply with quote

Brian,
You are right. I guess, It was an oversight.

Baskkarsubbian,
Did you go through the manual that Kolusu had provided, BTW, why don't you run a test job to clarify it with your friend. You can then prove that you are right.

Cheers,
Coolman.
________
Yamaha QY10


Last edited by coolman on Sat Feb 05, 2011 1:28 am; edited 1 time in total
Back to top
View user's profile Send private message
baskkarsubbian
Beginner


Joined: 31 Aug 2003
Posts: 18
Topics: 12

PostPosted: Sun Sep 07, 2003 1:34 am    Post subject: Reply with quote

Thanks for the clarifications

Before to prove to my friend I would like to confirm that's why I put a query in the forum.

Once again Thanks
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group