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

How does jcl specify the job to the operating system?

740


what is use of disp parameter in dd statement?

649


What is the syntax of JCL statement?

681


What is the function of the dd dcb keyword?

812


What are the jcl procedures?

635






hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1654


What is timing concept in mainframe?

1652


what sort card you will use to copy the data from one dataset to another dataset?

715


Is automatic restart possible in jcl? If yes, how?

648


Explain how can the attributes of one sms dataset be copied to another dataset?

694


can any one plzzzzzz tell the jcl code for creating ps using idcams

10479


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

712


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1336


Explain the function of dd disp parameter?

588


Is automatic restart possible in jcl?

722