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
Can I share my data with other jobs? How?
Mention the types of job control statements?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
what is the purpose of coding notify parameter in job statement?
List the various advantages of using jcl language?
What are the parameters that are used in creating a gdg?
What are the utility programs in jcl?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
Is automatic restart possible in jcl?
How to run cobol program using jcl?
What are the 4 fields in dd statement?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
Explain the function of a dd statement?
Is it possible to left uncode disp?
What is the purpose of dd?