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
Name the parameters which can be used to limit the number of records written to a sysout dataset?
How do you create a temporary dataset?
What dd statement is used to supply the name of a dataset?
How does jcl act on a cobol code?
How is the record format of an output dataset specified?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
What does a disposition of (MOD,DELETE,DELETE) mean ?
How can a jobs execution priority be modified?
Name the statement which can be used to send data to another mvs jes3 node?
Define concatenating?
What are some jcl statements that are not allowed in procedures?
a dd statement has 2 types of parameters. Name them?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
How can values be passed from the job stream to an executable program?
What is the purpose of the dd keylen parameter?