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 can you execute a COBOL program via SYSIN in JCL?

1 Answers  


How do you restart a step in JCL?

12 Answers   HSBC,


What does the keyword DCB mean and what are some of the keywords associated with it?

3 Answers   ITC Infotech,


what is the COND=EVEN ? Can anyone give me an example to explain the usage.

2 Answers  


Explain about LMCOPY -

1 Answers  






List some valid operation codes in JCL

3 Answers  


Must tape dataset definitions include vol=ser specifications?

0 Answers  


what is use of dsn parameter in dd statement?

0 Answers   IBM,


Suppose I have Five Steps in PROC In this Case I want to Execute third Step in PROC using Main JCL don't use any COND Explain with Coding Thanks & Regards SHREE

4 Answers   Merrill Lynch,


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

0 Answers  


How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you

0 Answers  


What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?

4 Answers  


Categories