if we are specifing joblib as well as steplib in job
then at the time of execution how the process will complete
Answers were Sorted based on User's Feedback
Answer / abhinandan
Above answer given is wrong. the job will execute and
steplib will overide the joblib. means job will ignore the
load module kept in it, job will pick up the load module
from the steplib for that particular step where steplib is
mentioned.
| Is This Answer Correct ? | 15 Yes | 0 No |
Answer / om prakash yadav
The JOBLIB statement is placed after the JOB statement and
is effective for all JOB steps. It cancot be placed a
cateloged procedure. The STEPLIB statememnt 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.
If both the JOBLIB and STEPLIB statement are coded, then the
STEPLIB specification will override the JOBLIB specification
for that job step.
The specification of the STEPLIB will continue for any steps.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / vikas bhardwaj
Ramesh's ans is wrong, Abhinandan is correct
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ramesh
it cant execute the program since while steplib and joblib
both are coded in jcl.joblib takes the most preference so
that it cant be executed.
| Is This Answer Correct ? | 1 Yes | 14 No |
Explain how can values be passed from the job stream to an executable program?
How to send data from cobol program to jcl?
when GDG version number get changed ? bcz always Generations only increasing.
Please give me the coding for converting VB to FB and FB to VB
What 3 guidelines do we have to follow when concatenating DD statements?
What type of versions we r using in mainframe (jcl, cobol, db2, vsam, cics)?
What is Uncatalog dataset? How can we access/use them?
why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
What is dummy parameter in JCL??
In JCL..for TIME Parameter was specified both JOB & STEP..which one is overrides
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move