View previous topic :: View next topic |
Author |
Message |
ST Beginner
Joined: 04 Jan 2003 Posts: 24 Topics: 12
|
Posted: Sun Jan 05, 2003 7:32 pm Post subject: JCLLIB-PROCLIB |
|
|
HI,
Can anyone let me know the importance of JCLLIB.. I think if we code a PROC(Catalogued) then we put its loadlib and use PROCLIB in the JCL.
But where exactly we use JCLLIB?
Thanks,
ST |
|
Back to top |
|
|
raj051076 Beginner
Joined: 05 Dec 2002 Posts: 64 Topics: 21
|
Posted: Sun Jan 05, 2003 8:21 pm Post subject: |
|
|
The purpose of JCLLIB statement is to:
1.Identify the names of the private libraries that the system uses for the job. The system searches the libraries for:
- Procedures named on any EXEC statements
- Groups of JCL statements (called INCLUDE groups) named on any
INCLUDE statements.
2.Identify the names of the system procedure libraries and installation-defined procedure libraries that the system uses for the job.
3. 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.
Syntax
//[name] JCLLIB ORDER=(library[,library]...) [comments]
The JCLLIB statement consists of the characters // in columns 1 and 2 and four fields: name,operation (JCLLIB), keyword parameter (ORDER), and comments.
If only one library is listed in the search order, the parentheses are optional. For example:
//MYLIB JCLLIB ORDER=MY.PROC1
Library names can be enclosed in apostrophes, for example:
//MYLIB JCLLIB ORDER=('MY.PROC1','MY.PROC2')
You can continue the list of libraries to the following statement by breaking the statement after a comma in the list, and continuing the list on the next statement, beginning in any column from 4 to
16. For example:
//MYLIB JCLLIB ORDER=(MY.PROC1,MY.PROC2,
// MY.PROC3)
You can continue a parameter enclosed in quotes by breaking the parameter in column 71 and continuing the parameter in column 16 of the next statement. _________________ Rajib |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Sun Jan 05, 2003 10:28 pm Post subject: |
|
|
St,
Check the following link for JCLLIB Statement
Read the contents in that link Description which will give you a better idea about JCLLIB.
Hope this helps...
cheers
kolusu |
|
Back to top |
|
|
ST Beginner
Joined: 04 Jan 2003 Posts: 24 Topics: 12
|
Posted: Sun Jan 05, 2003 10:58 pm Post subject: |
|
|
Raj & Kolusu,
Thanks a ton for ur replies...Explanation of Raj is very useful
Rgds,
ST |
|
Back to top |
|
|
|
|