What is the difference between joblib and jcllib statements
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
How to point my proc to production dataset always though i keep jcllib order=development.dataset? Is it possible?
If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how it can be coded in JCL/
One dataset is creating in the step1 with LRECL of 133 and the same dataset is used in the next step in DISP=SHR mode, but while scanning the JCL the following error is thrwon. Please verify the below JCL $/SEPP030.PROVIDER DD DSN=Z1225BT.F5750PG9.F5910PRV.QC#A6868 //ERRORRPT DD DSN=F5910&ST&IN..F5910EPP.ERRORRPT.P&CYCDATE, --ERRORRPT DD DSN=F5910PG.F5910EPP.ERRORRPT.P, // DISP=&DISNCD,UNIT=&DELQ, -- DISP= (NEW,CATLG,DELETE),UNIT=DELQ, // SPACE=(TRK, (30,15),RLSE), // DCB=&DCB2 -- DCB= (PPG.METMODEL,BLKSIZE=0,LRECL=133,RECFM=FB) $/SEPP030.ERRORRPT DD DSN=Z1225BT.F5910EPP.ERRORRPT.AOUTPUT //SEPP040 EXEC PGM=FILEAID,COND= (0002,EQ,SEPP030) //SYSPRINT DD SYSOUT=* //SYSLIST DD SYSOUT=* //DD01 DD DSN=SYSCMN.PROD.CCLIB (F5910EP1),DISP=SHR $/SEPP040.DD01 DD DSN=Z1225BT.TEST.CCLIB (F5910EP1) E1 - DSS20791E - DATA SET 'Z1225BT.F5910EPP.ERRORRPT.AOUTPUT' HAS AN LRECL OF 133 COULD NOT BE OPENED BECAUSE THE CODED LRECL WAS 80. // DD DSN=F5910&ST&IN..F5910EPP.ERRORRPT.P&CYCDATE, -- DD DSN=F5910PG.F5910EPP.ERRORRPT.P, // DISP=SHR $/ DD DSN=Z1225BT.F5910EPP.ERRORRPT.AOUTPUT please find the error code in the above mentioned lines and please suggest me about the error and the solution for that.
For what purpose steplib and joblib are used ?
What are isolation levels? Where do we need to specify them in compiling JCL?
What is the difference between sb37,se37,sd37 each?
What is the use of disp parameter?
Does jcl support automatic restart?
How would I code JCL to copy a gdg data set G001v00 and create a gdg Data set G001v01
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
Explain the function of dd disp parameter?
what is the function of spool command?