Interview Questions   Tutorials   Discussions   Programs   

JCL - What is JCL LIB ?




334
views
asked mar September 4, 2014 12:58 PM  

What is JCL LIB ?


           

1 Answers



 
answered By Mswami   0  

Use the JCLLIB statement to:

• Identify the names of the private libraries that the system uses for the job. The system searches the libraries for:

o Procedures named on any EXEC statements.
o Groups of JCL statements (called INCLUDE groups) named on any INCLUDE statements.

• Identify the names of the system procedure libraries and installation-defined procedure libraries that the system uses for the job.

• Identify the order in which the libraries are to be searched. The system searches the libraries in the order in which you specify them on the JCLLIB statement, prior to searching any unspecified default system procedure libraries.

The JCLLIB statement allows you to code and use procedures and INCLUDE groups in a private library without the need to use system procedure libraries.

You can code only one JCLLIB statement per job. assume that the system default procedure library includes SYS1.PROCLIB only. If you do not specify the JCLLIB statement, then the system searches only SYS1.PROCLIB. (Using a procedure describes how the system determines the default procedure library.)

Example:

//MYJOB1   JOB     ...
//MYLIBS1  JCLLIB  ORDER=CAMPBEL.PROCS.JCL
//S1       EXEC    PROC=MYPROC1

           .
           .

The system searches the libraries for procedure MYPROC1 in the following order: 1. CAMPBEL.PROCS.JCL 2. SYS1.PROCLIB

flag   
   add comment

Your answer

Join with account you already have

FF

Preview

 Write A Tutorials
Online-Classroom Classes
www.writeabc.com


  1 person following this question

  Question tags

jcl × 1

Asked 2 years and 3 months ago ago
Number of Views -334
Number of Answers -1
Last updated
3 years and 3 months ago ago

  Similar questions


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert