Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Difference b/w JCLLIB and PROCLIB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Difference b/w JCLLIB and PROCLIB
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    Post subject:
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    Post subject:
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: 23
Location: Pune, India

PostPosted: Sat Jan 20, 2007 2:09 pm    Post subject:
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

Site Director


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

PostPosted: Sun Jan 21, 2007 7:42 am    Post subject:
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    Post subject: Re: Difference b/w JCLLIB and PROCLIB
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: 23
Location: Pune, India

PostPosted: Tue Jan 23, 2007 3:23 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm
No new posts Difference Between CICS WebSupport an... sachinji84 CICS 1 Mon Mar 07, 2016 7:25 pm
No new posts Difference between -180 and -181 with... deepak_shrivastava DB2 4 Wed Jan 06, 2016 10:00 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us