Can a job have only steplib and no joblib ?

Answers were Sorted based on User's Feedback



Can a job have only steplib and no joblib ?..

Answer / saroja kolli

Yes. We can have only steplib without a joblib.

But in such case, if the Job contains several steps then in
everystep of the job STEPLIB should be mentioned.

STEPLIB refers to the step in which it is mentioned and the
JOBLIB refers to all the steps in the job.

When STEPLIB and the JOBLIB both are mentioned then STEPLIb
overrides JOBLIB.

Is This Answer Correct ?    13 Yes 0 No

Can a job have only steplib and no joblib ?..

Answer / manikandan.d

yes job have oly steplib but its effective oly for
perticular step...steplib placed immediate after the exec
step statement

ex:

//step1 exec pgm=pgm1
//steplib dd dsn =ksab.manid.loadlib,disp=shr

let me know if any new answer

Is This Answer Correct ?    4 Yes 0 No

Can a job have only steplib and no joblib ?..

Answer / runa

yes

Is This Answer Correct ?    3 Yes 0 No

Can a job have only steplib and no joblib ?..

Answer / kalaimani

exactly previous answers are correct. and also if no
steplib is providied for one particular jobstep, then it
wil take from joblib. it is not mandatory to give steplib.

Is This Answer Correct ?    2 Yes 0 No

Can a job have only steplib and no joblib ?..

Answer / pankaj.g

Hi Manikandan.d,

Your answer is correct but we can put Steplib anywhere in
the step. It is not necessary to put the steplib immediate
after Exec step.

Correct me if I am wrong?

Is This Answer Correct ?    2 Yes 0 No

Can a job have only steplib and no joblib ?..

Answer / deepak thamarasseri

Yes,we can code Steplib and Joblib in the same code.If we
are coding both,STEPLIB overrides the JOBLIB statement.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More JCL Interview Questions

Explain the function of dd name parameter with a 2 part structure; audit.report?

1 Answers  


In one of intervie, my interviwer asked, I have a file which contains 4 records I would like to split the 4 different outputs for each record how to do?

14 Answers   Cap Gemini, Cognizant, JPMorgan Chase, TCS, Xansa,


What is the purpose of include statement in a JCL?

2 Answers  


i just need the first and last record from a sequencial file?how

2 Answers  


How do you designate a comment in JCL?

1 Answers  


Hi Guyz, My requirement is to empty out a PS file but not to delete. How would I do that. Is there any Utility. If any other way, plz answer. Thanks.

9 Answers   iGate, Lehman Brothers,


What is 'S0C7' abend?

9 Answers  


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

1 Answers  


I have 5 steps in my jcl ,I need to execute first three steps and then 2nd step again ,4th and 5th steps if rc of 2nd step is zero

1 Answers   ABC,


Name a few IBM utility programs, and explain its function.

1 Answers  


i want apply mainframe devolper with 3+ but i dont have that much of knowledge what isthe solution to get that much of knoweldge?

1 Answers  


what happens in execution stage in job processing?

1 Answers   IBM,


Categories