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
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
what is a jcl?
what is JCL?
How do you access an uncatalogued dataset in a jcl?
How can unused space allocation be returned to the system when a dataset is closed?
How to submit jcl through a cobol program?
Explain how can the submitting users racf authority be overridden in a job stream?
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
Can I send output of job to my remote device careerride123?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
what JCL Procedures?
How does jcl act on a cobol code?