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
A dd statement consists of 4 fields. Name them?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
What is the difference between run mode and addressing mode?
Explain the function of dd disp parameter?
when does a dataset go uncataloged?
For what purpose steplib and joblib are used ?
Explain about LMQUERY�give a dialog information about a data set
Does jcl support automatic restart?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
Is it possible to left uncode disp? If yes, how?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What is the maximum length of a single line of jcl?
How can unused space allocation be returned to the system when a dataset is closed?
if the submitter of a job wants to inform another user about the job completion, how can it be done?