What is JOBLIB ?

Answers were Sorted based on User's Feedback



What is JOBLIB ?..

Answer / 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

What is JOBLIB ?..

Answer / tina

JOBLIB specifies the list of loadlibraries which include the
programs to be executed.
You can have any no. of LOADLIBS.

Is This Answer Correct ?    3 Yes 0 No

What is JOBLIB ?..

Answer / pankaj thakur

Joblib specifies the location of program for all the steps
used within the JCL.In a single Job there can be 255 steps
coded at a single time.

If in a particular step we use the steplib statement then
that steplib statement overrides the joblib statement.

Is This Answer Correct ?    3 Yes 0 No

What is JOBLIB ?..

Answer / kaladhar

IT SPECIFIES THE LOADLIB IN WHICH THE PROGRAM LOADMODULES
OF ALL THE STEPS ARE SEARCHED.
JOBLIB MUST IMMEDIATELY FOLLOWS JOB STATEMENT.

Is This Answer Correct ?    3 Yes 0 No

What is JOBLIB ?..

Answer / selvarani ajeeth

Shakila ,I just need to add some points,
We can gie any number of loads in the joblib.
The precedence will be taken from the top to bottom.If the
program load is not found in the first PDS ,it will be
taken from the next.STEPLIB overrides JOBLIB statement.

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More JCL Interview Questions

how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks in advance.

6 Answers   Syntel, UHG,


I have two input files i/p1 name id-key flag date i/p 2 name id-key date if id-key matches in the both the files then it should write the output file from i/p1 with flag 'Y'. It should be done thru JCL sort card ,Please provide the info on this. ---Note : output file should have all records from i/p1 with proper Flag.

2 Answers  


Max. No of DD statements in a job ?

4 Answers   CSI,


how do you access an uncataloged dataset in a jcl?

0 Answers   IBM,


. What is the difference between the following statements : I) step#1 exec PGM=accpay ii) step#1 exec tbalance

1 Answers  






In JCL..for TIME Parameter was specified both JOB & STEP..which one is overrides

6 Answers   Satyam,


how to execute the last 5 steps in jcl

2 Answers   Syntel,


How to concatenate different LRECL of files?

2 Answers   IBM,


There are two steps in a JCl, the first one generates a report while the second step send an email saying the report has been generated, but the second steps should only be executed when the report file is non-empty. How can it be acheived. We may include steps in between.

3 Answers   IBM,


when can a job time-out occur? How to overcome that?

0 Answers   IBM,


Name some of the JCL statements that are not allowed in procs.?

1 Answers  


when we use sysprint and sysout statements

3 Answers  


Categories