What is JOBLIB ?

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


Please Help Members By Posting Answers For Below Questions

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

1937


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

759


what is a jcl?

697


what is JCL?

708


How do you access an uncatalogued dataset in a jcl?

737






How can unused space allocation be returned to the system when a dataset is closed?

821


How to submit jcl through a cobol program?

691


Explain how can the submitting users racf authority be overridden in a job stream?

683


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

1128


Can I send output of job to my remote device careerride123?

680


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

679


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

942


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

665


what JCL Procedures?

711


How does jcl act on a cobol code?

664