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

Explain about Specifying compiler options in the PROCESS (CBL) statement

1 Answers  


My JCL has 4 steps that execute PROC’s P1, P2, P3 and P4 as shown below //P1 EXEC PROC=P1 //P2 EXEC PROC=P2 //P3 EXEC PROC=P3 //P4 EXEC PROC=P4 There are four steps S1, S2, S3 and S4 in each PROC’s (i.e. P1, P2, P3 and P4) I want to execute only step S2 of PROC P2 and no other steps or PROC’s. How do you achieve this?

4 Answers   IMS,


List the different components of jcl statement?

0 Answers  


Min no of member?s (PDS) in one directory block?

10 Answers  


describe the dd statement,its meaning,syntax and keywords?

1 Answers  






what is the COND=EVEN ? Can anyone give me an example to explain the usage.

2 Answers  


I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....

3 Answers   RBS,


Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00

2 Answers  


what is “Cond= even” and “Cond=only”?

0 Answers  


Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.

2 Answers  


shall we concordinate two different length dataset in to a new date set.

6 Answers  


Hi Guyz, My requirement is to empty out a PS file but not to delete. How would I do that. Is there any Utility. If any other way, plz answer. Thanks.

9 Answers   iGate, Lehman Brothers,


Categories