IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Difference bw PROCLIB & JCLLIB


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sunojsm
Warnings : 1

New User


Joined: 21 Jun 2004
Posts: 33
Location: Andorra

PostPosted: Fri Mar 25, 2005 11:04 am
Reply with quote

hi all,
some questions

1.Diff bwtween JCL Lib and Proc lib?
2.Is there a way in JCL to identify the oldest GDG version assuming we don't know how many generations will exist at any given time?

bye
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Fri Mar 25, 2005 8:39 pm
Reply with quote

Quote:
Diff bwtween JCL Lib and Proc lib


JCLLIB is user defined catalog library

PROCLIB is predefined system library

Quote:
Is there a way in JCL to identify the oldest GDG version assuming we don't know how many generations will exist


Yes, yiou can refer as A.B.C(-1) to get the previous generation.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Mar 26, 2005 7:14 am
Reply with quote

JCLLIB is a JCL stmt that allows the user to specify his own proclibs and/or specify the order in which they're searched to find the PROC(s) or INCLUDE libraries invoked in the JCL. You can use the ORDER clause to do this. You can specify private (user) or system libraries.
Back to top
View user's profile Send private message
jinal_mca

New User


Joined: 05 Jan 2007
Posts: 22
Location: Pune, India

PostPosted: Sat Jan 20, 2007 2:09 pm
Reply with quote

hi dear

JCLlib is a library which is having catloged procedures which are defined by the users.

So bfor calling any catloged procedure u have to define JCLLIB path.

syntax is

//NAME JCLLIB ORDER='PATH'

CORRECT M IF I M WRONG

THNX
icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Jan 21, 2007 7:42 am
Reply with quote

Hello,

For my $.02, i'd describe proclib and jcllib as follows:

PROCLIBs are Procedure Libraries. These may be system or user PROCLIBs. Typically, a site's PROCs are stored in one or more user-defined PROCLIB(s) - not a system PROCLIB.

In addition to the JCLLIB statement that allows library specification, "jcllib"s are one or more places to store execution jcl (production, test, someone's "own" personal library, etc). Many sites also have some jcllib(s) that are where scheduling software retrieves members for running schedlued jobs.

Also, to identify the oldest version in a gdg via jcl, you could run an IDCAMS step with a LISTCAT. Specifying -1 will get the previoius version (if one exists) but that may not be the oldest version.
Back to top
View user's profile Send private message
Sahoo

New User


Joined: 08 Jun 2006
Posts: 53

PostPosted: Sun Jan 21, 2007 12:45 pm
Reply with quote

JCLLIB is a JCl keyword used for defining the Catalogued procedure

There is no such reserved word PROCLIB. Generally PROCLIB is used as label in the JCLLIB statement

//PROCLIB JCLLIB ORDER=DATASET NAME

Regarding getting the versions of GDG use IDCAMS LISTCAT command
Back to top
View user's profile Send private message
jinal_mca

New User


Joined: 05 Jan 2007
Posts: 22
Location: Pune, India

PostPosted: Tue Jan 23, 2007 3:23 pm
Reply with quote

In JCLLIB we can define order stmt where u can define no of libraries which are seperated by comma.

so that system will search for that particular procedure in the sequence as specified in the order stmt.

cya
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts What is the difference between Taskty... Compuware & Other Tools 2
No new posts Difference between VALIDPROC and CHEC... DB2 3
No new posts Difference between CEE3250C and CEE3204S COBOL Programming 2
Search our Forums:

Back to Top