in jcl you are having JCLLIB and STEPLIB what happens
Answers were Sorted based on User's Feedback
Answer / sj@iy
JCLLIB - Gives the library for cataloged procedures
STEPLIB - Coded in the individual steps. It gives the
library where the program specified in the EXEC statement
for that particular step should be searched for.
JOBLIB - Coded after the JOB statement. It specifies the
library where all programs specified in the EXEC statements
of the entire JCL should be searched for.
Having both JOBLIB and STEPLIB, the STEPLIB will override
JOBLIB for that particular step where STEPLIB is given.
Having both JCLLIB and STEPLIB shouldnt have any co-
relation as one is concerned with cataloged procedures and
the other with the programs.
Please verify answer
| Is This Answer Correct ? | 27 Yes | 1 No |
Answer / divyanshu kumar
steplib will override jcllib for that step. whereas if no
steplib is given for a certain step in that jcl .Then
joblib will come into play.
| Is This Answer Correct ? | 31 Yes | 8 No |
Answer / kishore
STEPLIB will override for that step only not for entire job
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / rks
if you mentioned jcllib in jcl that u r using cataloged
procs.
thats it nothing happen to steplib .
steplib will override joblib but not jcllib.
| Is This Answer Correct ? | 14 Yes | 0 No |
JOB uses JCLLIB to find user's procedures and STEPLIB to
find user's programs
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / 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 |
Answer / anonymous
I 've faced such situation where in the Load module is not in Steplib(private lib) but it was there in Joblib (system lib ) but still the job abends with load module not found issue S806 .
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sreedhar naidu dhekodna
First STEPLIB will override the JCLLIB. If the required
module is found then the JOBLIB won't be considered or if
the required module is not found in STEPLIB librarie(s)
then again the job will search for module in JOBLIB as well.
| Is This Answer Correct ? | 0 Yes | 6 No |
Answer / sangeetha
BUT WHAT WILL HAPPEN TO JOBLIB, CAN JOBLIB WILL OVERRIDE
STEPLIB?
| Is This Answer Correct ? | 2 Yes | 29 No |
i want to avoid the positional parameter how to code it ?
How can unused space allocation be returned to the system when a dataset is closed?
Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?
if we compile the cobol+ db2 program now ofter 5 years we need to compile again?
Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?
how to convert fb to vb in jcl ?
which parameter is used to check the syntax of a jcl without executing it?
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayed after the PERFORM is over? assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above
how you can direct the data to spool using SYSOUT option?
Differentiate between addressing mode and run mode.
What is QSAM error usually when it is occurs?
What is SORT ? How do we eliminate duplicate records ? How do I select some records using SORT ?