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

What is a GDG

4 Answers   IBM,


Explain dd statement in jcl?

0 Answers  


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

1 Answers   Tesco,


How do you override a specific DDNAME/SYSIN in PROC from a JCL?

6 Answers   CTS,


We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?

2 Answers   CTS, IBM,






Can a temporary dataset be converted to permanent dataset and vice-versa in the middle of a job ?

4 Answers   IBM,


What is JOBLIB ?

5 Answers   Xansa,


Explain the function of a dd statement?

0 Answers  


I have a job which is a long-running one. Processes millions of records. Due to some run-time problem (not a problem due to the job/data) the job abends.What needs to be done to make the job complete successfully.

4 Answers   TCS,


Can I send output of job to my remote device careerride123?

0 Answers  


There are a set of 10 files and a customer will be selecting random no of files(i.e they may be more than 2, may not be in the order).Sometimes he might just select one file or sometimes no files at all.How do you code a JCL for this? Is it possible to code just JCL alone for this problem?

9 Answers   Infosys,


is there any way to execute more than one proc in the same exec statement at the same time..?

0 Answers  


Categories