What is the difference between joblib and jcllib statements

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of //cntl statement?

832


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

7091


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1670


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

1736


How can a stopped job be started again?

715






Is condition checking possible in jcl?

722


how can you check if a file is empty using jcl?

816


How to do automated restart when a job abend?

791


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

940


List the various advantages of using jcl language?

853


Describe the various parameters utilized in the creation of a gdg?

686


How to pass the parameter in parm using linkage section ? (syntax)?

655


Explain the function of the steplib dd statement?

649


what is use of dcb parameter in dd statement?

776


What is the format of comment statement?

671