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 |
Explain how can return codes be tested before execution of a job step?
1.How to check for the errors using TYPRUN=SCAN?What will be the output if we give TYPRUN=SCAN?
I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....
How to read records in reverse order in flat file?
GDG Create syntax ?
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.
How many positional parameters are there in job statement?
Name some of the JCL statements that are not allowed in procs.?
What is the improvement to COND= in the latest version of MVS?
What dd statement is used to supply the name of a dataset?
How much is memory space involved, when we code BLOCKSIZE,TRK & CYL ?
hi guys what r the diff types of procs in jcl? bye ramya
4 Answers ACS, Keane India Ltd,