MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JCLLIB-PROCLIB

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
ST
Beginner


Joined: 04 Jan 2003
Posts: 24
Topics: 12

PostPosted: Sun Jan 05, 2003 7:32 pm    Post subject: JCLLIB-PROCLIB Reply with quote

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
View user's profile Send private message
raj051076
Beginner


Joined: 05 Dec 2002
Posts: 64
Topics: 21

PostPosted: Sun Jan 05, 2003 8:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Sun Jan 05, 2003 10:28 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
ST
Beginner


Joined: 04 Jan 2003
Posts: 24
Topics: 12

PostPosted: Sun Jan 05, 2003 10:58 pm    Post subject: Reply with quote

Raj & Kolusu,

Thanks a ton for ur replies...Explanation of Raj is very useful


Rgds,
ST
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group