in jcl you are having JCLLIB and STEPLIB what happens
Answer Posted / ranbeer
If you code both a JOBLIB DD and STEPLIB DD statement in
the same job, the STEPLIB DD statement overrides the JOBLIB
statement only for that step. For that step only, the
system ignores JOBLIB and first searches the private
libraries specified on the STEPLIB DD statement. If the
system does not find the program in the private libraries,
it then searches the system libraries. Then, if z/OS still
has not found the program, the system abnormally ends the
job step.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
Explain the function of //jcllib statement?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
Differentiate between the joblib and the steplib statements?
What is the maximum length of a single line of jcl?
what is the difference between JES3 and JES2?
What are the jcl procedures?
What is timing concept in mainframe?
Explain how can an in-stream dataset be terminated?
What does a disposition of (new,catlg,keep) for a dsn mean?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
Differentiate between addressing mode and run mode.
What is the function of job statement in jcl?
Explain how can a stopped job be started again?
What is the use of disp parameter?