What is the difference between the JOBLIB and the STEPLIB
statements?

Answers were Sorted based on User's Feedback



What is the difference between the JOBLIB and the STEPLIB statements?..

Answer / subbu

The above answer is right. Some more information to that:

If both the JOBLIB and STEPLIB statements are coded, then
the STEPLIB specification will override JOBLIB
specification.

Is This Answer Correct ?    63 Yes 5 No

What is the difference between the JOBLIB and the STEPLIB statements?..

Answer / guest

The JOBLIB statement is placed after the JOB statement and
is effective for all job steps. It cannot be placed in
abcataloged procedure. The STEPLIB statement 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.

Is This Answer Correct ?    53 Yes 4 No

What is the difference between the JOBLIB and the STEPLIB statements?..

Answer / vaibhav kulkarni

1)JOBLIB : It is placed after the job statement.
steplib is placed after the EXEC statement.


2)joblib statement can't be cataloged
while steplib statement can be cataloged.
3) syntax for the joblib //joblib DD DSN=datasetname

and
syntax for the steplib

//steplib DD DSN=datasetname

Is This Answer Correct ?    14 Yes 1 No

Post New Answer

More JCL Interview Questions

How to see the COMP3 value(packd decimal)

2 Answers   iGate,


I have a dataset with record length 40 in production, due to some requirements it was changed to 80. Then how can we know the jobs which are effected by this change and how can we resolve it.

3 Answers   iGate,


wt will happen to the step of a job if u code COND=ONLY

5 Answers   ADP,


I have 255 procedures in a job, each procedure contain 2 steps.can we execute this job?

2 Answers  


what is a null indicator in db2?

5 Answers   Fiserv, IBM,






what is a steplib

4 Answers   CGI,


how do you resolve for soc7 error

6 Answers   ACS, iGate,


What is a GDG? Why do we go for a GDG ? utility used to create GDG?

3 Answers   Xansa,


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

0 Answers   IBM,


What is 'S0C7' abend?

9 Answers  


Which COND paramter will u use to execute the step only if the previous step does not execute

3 Answers   BoA, HSBC,


hi in one of the interview one asked me how to submit a job from cobol?as well as how to submit a jcl from CICS? can u pls any one tell me..

1 Answers   CTS,


Categories