What is the difference between joblib and jcllib statements

Answers were Sorted based on User's Feedback



What is the difference between joblib and jcllib statements..

Answer / shiva

1 Joblib is a default load library for all the jobsteps

JOBLIB DD statement specifies the private library that the
system needs to search to obtain the program named in each
of the EXEC statements PGM parameters. Only if the program
is not found in the private, the system searches in the
system libraries.

Jcllib is the loadlib that contains cataloged procedures

JCLLIB statement species the private library that the system
needs to search to obtain
(a) the procedures (PROCS) named in the EXEC statement
(b) the Groups of JCL statements (called INCLUDE groups)
named on any INCLUDE statements

Is This Answer Correct ?    27 Yes 2 No

What is the difference between joblib and jcllib statements..

Answer / prashanthkodakani

joblib:
it will search load modules of all the steps which are
include in that job ,if it is load modules not found then
it will searched in system lib, there is also not found it
will dispaly 's806' error = load module not found

jcllib: it will search cataloged procedure data set

Is This Answer Correct ?    8 Yes 3 No

What is the difference between joblib and jcllib statements..

Answer / sreedhar naidu dhekodna

Loadlib will contain load module of the program not the
step if the program is called in the step then the load
module of that particular program will be searched in that
load libraries which are specified in JOBLIB.

Is This Answer Correct ?    5 Yes 1 No

What is the difference between joblib and jcllib statements..

Answer / mrunmaya

then what is loadlib prashanthkodakani?

Is This Answer Correct ?    0 Yes 0 No

What is the difference between joblib and jcllib statements..

Answer / gowthamgyaa

Mainframe can understand only in terms of hexadecimal. Application programming what we coding like COBOL, have to be converted into Hexadecimal. Hence during the stages of compiling, our Programming codes would be link-edited and moved to load library as hexadecimal codes.

Since Load library is a private library[used only by single user], we are using joblib to invoke it.

JCL lib would be used to invoke system libraries like ZOS.PROCLIB.


Am a learner, so correct me if I'm wrong.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between joblib and jcllib statements..

Answer / shiva

JOBLIB is used to include the System libaraies.
JCLLIB for the order in which the PROCS are Steps in Job to
be searched.
Example.
//JOBNAME JOB
(1,02931,1A),'SDV2903',CLASS=1,
//MSGCLASS=N,NOTIFY=&SYSUID
// JCLLIB ORDER=DW££.SDV.CUS.TST.PROCLIB
//JOBLIB INCLUDE
MEMBE=SDVLIBS
//STEP1 EXEC
SDV2903P

Is This Answer Correct ?    6 Yes 7 No

What is the difference between joblib and jcllib statements..

Answer / prashanthkodakani

hi mrunmaya,

loadlib: its a load library it contain the load module of
the step, then joblib search the load modules of the steps
in loadlib.

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More JCL Interview Questions

A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?

5 Answers   IBM, Wipro,


How do you submit JCL via a Cobol program?

4 Answers   IBM,


what is use of space parameter in dd statement?

0 Answers   IBM,


why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two

1 Answers   IBM, Perot Systems,


what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.

1 Answers  






hi,i have joined in mainframe course recently. ihave a doubt ragarding restart parameter.what is d use of it. and what is d syntax for it. any one give me d answer pls.

3 Answers  


What is the purpose and meaning of the REGION keyword and what JCL statement is it associated with?

3 Answers   IBM,


jcl is like a complier....?

6 Answers  


if we give two job cards in a single what happens

3 Answers   IBM,


How many extents are possible for a sequential file ? For a VSAM file ?

3 Answers  


how to put a dependency on job in jcl using opc scheduler?

1 Answers   CTC,


When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subsequent steps ?

1 Answers   IBM,


Categories