Answer Posted / shakila vinayagam
It is a DD (Data definition) statement, and it specifies
where
the program (which is specified in EXEC statement)
exists.
It is applicable to all job steps in that job. It
cannot be used
in cataloged procedures.
Syntax -> //JOBLIB DD DSN=dataset
EXAMPLE JCL ->
//MYJOB JOB (E343),'KRISHNA'
//JOBLIB DD
DSN=SE.TEST.LOADLIB,DISP=SHR <--- Attention
//STEP1 EXEC PGM=COBPROG
Immediately following the JOB statement is
the JOBLIB DD
statement. This is used to specify the
location of the
program that is to be executed.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
if the submitter of a job wants to inform another user about the job completion, how can it be done?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
What are the 4 fields in dd statement?
What is the difference between the positional and keyword parameters? Give examples.
How can a fb file convert to vb file using sort program?
when does a dataset go uncataloged?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
Can I send output of job to my remote device careerride123?
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
How to run cobol program using jcl?
What is NOTCAT ?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
Explain the function of the dd dcb keyword?
Name the statement which can be used to send data to another mvs jes3 node?
what is use of dsn parameter in dd statement?