Joblib and steplib being used...



Joblib and steplib being used...

Postby Pebble » Fri Oct 09, 2009 5:41 pm

Hi,

I have a job which has both Joblib and Steplib.
Suppose if the steplib is empty ( No dataset is given), What happens to the job ?
User avatar
Pebble
 
Posts: 8
Joined: Wed Aug 26, 2009 7:55 am
Has thanked: 0 time
Been thanked: 0 time

Re: Joblib and steplib being used...

 

Re: Joblib and steplib being used...

Postby ananth86 » Fri Oct 09, 2009 6:15 pm

Pebble wrote:Suppose if the steplib is empty ( No dataset is given), What happens to the job ?


If the Steplib is empty then I think there is no need of that statement in your JCL. Just remove it.
Then, Find where your Program is present,
1. if ur program is present in the default system library the JCL should run fine.
2. if ur program is not in the default system library... go and find it, and add it in either ur Joblib or Steplib.

Correct me if I m wrong :|
ananth86
 
Posts: 12
Joined: Thu Apr 02, 2009 12:47 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Joblib and steplib being used...

Postby dick scherrer » Sat Oct 10, 2009 12:14 am

Hello,

Suppose if the steplib is empty ( No dataset is given),
How do you have a STEPLIB with no dataset given?

Suggest you post the actual jcl. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Joblib and steplib being used...

Postby nishantsinghal » Tue Oct 13, 2009 12:04 am

then it will consider the JOBLIB.
nishantsinghal
 
Posts: 10
Joined: Tue Oct 06, 2009 8:09 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Joblib and steplib being used...

Postby dick scherrer » Tue Oct 13, 2009 12:26 am

Hello and welcome to the forum,

then it will consider the JOBLIB.
What does this reply to?

We still need Pebble to provide the requested info. . .

As mentioned before - if no dataset is given, how can this be a steplib. . . :?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Joblib and steplib being used...

Postby Pebble » Fri Oct 16, 2009 1:25 pm

Hello everyone,

I faced this question in an interview. So, I don't have the actual jcl which Dick has asked for.
Tried saying this answer to the interviewer : "When Steplib is empty, Joblib will be considered".
I was told that my answer was wrong.

Pebble.
User avatar
Pebble
 
Posts: 8
Joined: Wed Aug 26, 2009 7:55 am
Has thanked: 0 time
Been thanked: 0 time

Re: Joblib and steplib being used...

Postby swd » Fri Oct 16, 2009 2:20 pm

If this literally means that the steplib was empty (i.e. a library is specified but there are no members on the load library), then if a steplib is specified the joblib will be ignored, so I assume the job will abend because the program can't be found. I'd have to try it to be certain though!

http://publibz.boulder.ibm.com/cgi-bin/ ... 2151&CASE=
User avatar
swd
 
Posts: 109
Joined: Wed Feb 18, 2009 9:18 pm
Location: UK
Has thanked: 0 time
Been thanked: 0 time

Re: Joblib and steplib being used...

Postby dick scherrer » Sat Oct 17, 2009 12:06 am

Hello,

"When Steplib is empty, Joblib will be considered".
I was told that my answer was wrong.
True, that is incorrect. . . If a steplib is mentioned in a step, the joblib will not be searched. An additional wrinkle is that if the module is in the link list, it will be executed even if the steplib is "empty".

IMHO, i believe the question is somewhat inappropriate :(
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to Interview Questions