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

FOR a GDG, the book by 'SABA ZAMEER' says 'We can NOT ALTER the LIMIT parameter after it is defined'. (p-211). But many persons have written that it can be changed, which one is true ?

4 Answers   IBM,


what happens in conversion stage in job processing?

0 Answers   IBM,


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

0 Answers   CSC, SPIC,


List the different components of jcl statement?

0 Answers  


At what stage, operator can change the class and priority of a submitted job?

2 Answers  






How would I code JCL to copy a gdg data set G001v00 and create a gdg Data set G001v01

2 Answers  


do we need to mention the location of catalogued procedure for each it's call in a single job?

1 Answers  


How can u know the current date using jcl?

2 Answers   iNautix, Wipro,


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

0 Answers  


how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks in advance.

6 Answers   Syntel, UHG,


How can a fb file convert to vb file using sort program?

0 Answers  


how to concatenate datasets

5 Answers   EDS,


Categories