What is the difference between the JOBLIB and the STEPLIB
statements?
Answers were Sorted based on User's Feedback
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 |
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 |
What is a GDG
Explain dd statement in jcl?
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
How do you override a specific DDNAME/SYSIN in PROC from a JCL?
We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?
Can a temporary dataset be converted to permanent dataset and vice-versa in the middle of a job ?
What is JOBLIB ?
Explain the function of a dd statement?
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.
Can I send output of job to my remote device careerride123?
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?
is there any way to execute more than one proc in the same exec statement at the same time..?