Can a job have only steplib and no joblib ?
Answers were Sorted based on User's Feedback
Answer / saroja kolli
Yes. We can have only steplib without a joblib.
But in such case, if the Job contains several steps then in
everystep of the job STEPLIB should be mentioned.
STEPLIB refers to the step in which it is mentioned and the
JOBLIB refers to all the steps in the job.
When STEPLIB and the JOBLIB both are mentioned then STEPLIb
overrides JOBLIB.
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / manikandan.d
yes job have oly steplib but its effective oly for
perticular step...steplib placed immediate after the exec
step statement
ex:
//step1 exec pgm=pgm1
//steplib dd dsn =ksab.manid.loadlib,disp=shr
let me know if any new answer
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / kalaimani
exactly previous answers are correct. and also if no
steplib is providied for one particular jobstep, then it
wil take from joblib. it is not mandatory to give steplib.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / deepak thamarasseri
Yes,we can code Steplib and Joblib in the same code.If we
are coding both,STEPLIB overrides the JOBLIB statement.
| Is This Answer Correct ? | 1 Yes | 0 No |
How to Enter The Spool Area In Real Time?
What are the 4 fields in dd statement?
What are the kinds of job control statements?
describe the exec statement,its meaning ,syntax and keywords?
proc1,proc2,up to proc5 is there if i want to call proc1 and proc5how can u write the code
What is the motivation behind coding class parameter in job statement?
how to identify the file used in the JCL is an VSAM file. Just seeing the JCL code how can we track the file as VSAM file?
How do you submit JCL via a Cobol program?
I have two input SORTIN files and We need to create one SORTOUT file which contains data of both input files. What is the SortCard for this?. Suppose the length of the both files are different, then How we do it? Please reply ASAP
hi iam learning mainframes,can anybody tell me how to check JCL errors.(after submiting the JCL we have check in spool or is there any other method)
is step name is compulsory in jcl ?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?