what is the difference between the JCLLIB and JOBLIB ,and
where do we use it ?
Answers were Sorted based on User's Feedback
Answer / sukumar
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 ? | 18 Yes | 3 No |
Answer / manojkumar sivakumar
JCLLIB is used with either OS/390 or MVS/ESA Version 4 or
higher JES2 or JES3 systems, to identify a private library
or a system library from which INCLUDE groups and JCL
procedures are to be retrieved. The order in which the
library names appear on the JCLLIB statement is the order
in which they are searched for any JCL procedures (PROCs)
and INCLUDE groups referenced by this job.
The JOBLIB DD statement is used to identify a program
library to search first when attempting to locate programs
executed during the job's life. The JOBLIB must be placed
after the JOB statement and before the first EXEC statement
in the job. More than one program library can be
concatenated after the first one on a JOBLIB.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / bala
Programs that needs to be executed in a job are searched
in Library provided at JOBLIB, provided STEPLIB is not
given for provided (or) program is not first fount in
STEPLIB.
All the PROCs used in a job are search in the library
specified in JCLLIB
| Is This Answer Correct ? | 2 Yes | 0 No |
A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ? //InputF DD DSN=ID.File1 DSN=ID.File2 DSN=ID.File3
i want to avoid the positional parameter how to code it ?
Write a JCL by using the below requirement: File1 =1, File2 =11 and output needs to come as File3 =111?
1) Is CLASS used for assigning Priority (as we say a job having class '6' will run before the job having class '5'? then what is the difference between CLASS and PRTY ? 2) In a same JCL, 2 JOB statements with different Classes and NO PRTY are submitted ? which will run first ? & with different classes and different PRTY also, which will run first now ?
How to execute a set of JCL statements from a COBOL program ?
A file has dta in S9(09) COMP format. How do I move the data into a character field X(10)?
01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
What is DSNDB06 ?
Explain dd statement in jcl?
What is S322 abend ?
can u execute a proc from another proc?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?