if we are specifing joblib as well as steplib in job
then at the time of execution how the process will complete

Answers were Sorted based on User's Feedback



if we are specifing joblib as well as steplib in job then at the time of execution how the process ..

Answer / abhinandan

Above answer given is wrong. the job will execute and
steplib will overide the joblib. means job will ignore the
load module kept in it, job will pick up the load module
from the steplib for that particular step where steplib is
mentioned.

Is This Answer Correct ?    15 Yes 0 No

if we are specifing joblib as well as steplib in job then at the time of execution how the process ..

Answer / om prakash yadav

The JOBLIB statement is placed after the JOB statement and
is effective for all JOB steps. It cancot be placed a
cateloged procedure. The STEPLIB statememnt is placed after
the EXEC statement and is effective for that job step only.
Unlike the JOBLIB statement, the STEPLIB can be placed in a
cataloged procedure.

If both the JOBLIB and STEPLIB statement are coded, then the
STEPLIB specification will override the JOBLIB specification
for that job step.
The specification of the STEPLIB will continue for any steps.

Is This Answer Correct ?    10 Yes 0 No

if we are specifing joblib as well as steplib in job then at the time of execution how the process ..

Answer / vikas bhardwaj

Ramesh's ans is wrong, Abhinandan is correct

Is This Answer Correct ?    3 Yes 0 No

if we are specifing joblib as well as steplib in job then at the time of execution how the process ..

Answer / ramesh

it cant execute the program since while steplib and joblib
both are coded in jcl.joblib takes the most preference so
that it cant be executed.

Is This Answer Correct ?    1 Yes 14 No

Post New Answer

More JCL Interview Questions

what is the difference between perform varying and perform

1 Answers  


how to resolve soc-7 ? please tell me

3 Answers   IBM,


what is the difference between return code and maxcc?

2 Answers   iGate,


Hi, My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly I want to stop copying rest records if certain record contains a specific value. Can it be done using SORT/ICETOOL utilities?

5 Answers   Patni,


what is alternate index?

1 Answers  






hi,i have joined in mainframe course recently. ihave a doubt ragarding restart parameter.what is d use of it. and what is d syntax for it. any one give me d answer pls.

3 Answers  


//step#3 exec pgm = hkbc762 what is wrong with the syntax?

3 Answers  


Why include statement is used in a jcl?

0 Answers  


How many extents are possible for a sequential file ? For a VSAM file ?

3 Answers  


What is STEPLIB, JOBLIB? What is it used for?

2 Answers  


How many days does a job remain in spool

7 Answers   Syntel,


can anyone explain me about sort in jcl with inrec and outrec ?

2 Answers   HCL,


Categories