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

difference bitween jcllib and proclib


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
onkarnath
Currently Banned

New User


Joined: 22 Jan 2008
Posts: 1
Location: hyderabad

PostPosted: Tue Jan 22, 2008 4:29 pm
Reply with quote

Hi All
what is the difference between PROCLIB and JCLLIB when any one of them to be used in a JCL program?
Back to top
View user's profile Send private message
Ajay Baghel

Active User


Joined: 25 Apr 2007
Posts: 206
Location: Bangalore

PostPosted: Tue Jan 22, 2008 4:37 pm
Reply with quote

JCLLIB is the operation keyword on a jcl statement used to identify a Catalogued procedure library or INCLUDE library.


-Ajay
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Tue Jan 22, 2008 5:00 pm
Reply with quote

onkar,

Welcome to the forums.

Quote:
what is the difference between PROCLIB and JCLLIB when any one of them to be used in a JCL program?


JCLLIB is user defined library whereas PROCLIB is a system library. Check this link

http://ibmmainframes.com/about1891.html
Back to top
View user's profile Send private message
the_gautam

Active User


Joined: 05 Jun 2005
Posts: 165
Location: Bangalore

PostPosted: Tue Jan 22, 2008 5:02 pm
Reply with quote

JCLLIB is the user defined library for the cataloged PROCs.
whereas, PROCLIB is the system defined library for the cataloged PROCs.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Jan 22, 2008 5:58 pm
Reply with quote

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.

Further, JCLLIB is analogous to a JOBLIB JCL statement. Instead of pointing to a load library that remains active for the length of the JOB, a JCLLIB statement points to an alternative JCL library to be used for the length of the JOB. All cataloged procedures referenced in a JOB are searched for in the JOB's JCLLIB. If a JCLLIB isn't provided, the default JCL library is searched. And

Quote:
PROCLIB is the system defined library for the cataloged PROCs.
Back to top
View user's profile Send private message
srinivas_443

New User


Joined: 19 Dec 2007
Posts: 11
Location: chennai

PostPosted: Wed Jan 23, 2008 10:19 am
Reply with quote

JCLLIB must fall after JOB statement
Back to top
View user's profile Send private message
jimmybhandari

New User


Joined: 04 Jun 2009
Posts: 13
Location: bangalore

PostPosted: Mon Jun 29, 2009 3:41 pm
Reply with quote

srinivas_443 wrote:
JCLLIB must fall after JOB statement


Is there an alternative to JCL lib statement. Anything similar to steplib statement, which we dont need to specify at the top of the JCL but, can be specified just after calling the PROC.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Jun 29, 2009 3:50 pm
Reply with quote

Unfortunately not.
Quote:

A JCLLIB statement:

Must appear after the JOB statement and before the first EXEC statement in the job.
Must appear before any INCLUDE statement.
Must not appear within an INCLUDE group.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Jun 29, 2009 4:14 pm
Reply with quote

jimmybhandari wrote:
Is there an alternative to JCL lib statement. Anything similar to steplib statement, which we dont need to specify at the top of the JCL but, can be specified just after calling the PROC.
Even if yes, what purpose will that serve to you? If you tell us what do you want to accomplish there can be some alternative solution(s).
Back to top
View user's profile Send private message
jimmybhandari

New User


Joined: 04 Jun 2009
Posts: 13
Location: bangalore

PostPosted: Mon Jun 29, 2009 6:14 pm
Reply with quote

Anuj Dhawan wrote:
jimmybhandari wrote:
Is there an alternative to JCL lib statement. Anything similar to steplib statement, which we dont need to specify at the top of the JCL but, can be specified just after calling the PROC.
Even if yes, what purpose will that serve to you? If you tell us what do you want to accomplish there can be some alternative solution(s).


Hi Anuj,

Its just that i wanted to make it most convinient for the user to use this Proc. Having something which works similar to STEPLIB will make sure that i can have a single set of statements to call and make use of the PROC. Now, user will have to include this JCLLIB statement at top of the main JCL. Moreover, the main JCL may be having many other Procs and unnecessarily system will search this library before going to the system catlg.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Jun 29, 2009 6:30 pm
Reply with quote

Why not contact your site support group and have the procedure added to the application procedure library? Many sites have a PROCLIB that is defined within the system for automatic resolution, which is used for application procedures.

Quote:
unnecessarily system will search this library before going to the system catlg.
Yeah, right. The system uses the system catalog to find the files your JCL references, before ever searching a library for a procedure. System catalog is a specific term with a specific meaning -- either use it correctly, learn what it means, or don't use the term to prevent misunderstandings by your non-standard use of a very specific term.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jun 29, 2009 6:34 pm
Reply with quote

If what you are providing is that important (or helpful) it should be moved to the system libraries.

If not, that is why you have JCLLIB, PROCLIB statements to enable users to access resources that are not site accepted.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Jun 29, 2009 6:38 pm
Reply with quote

I don't get what exactly you mean -- may be catalog procedures can be your choice icon_confused.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Jun 29, 2009 6:39 pm
Reply with quote

oh Robert, Dick -- you guys are just too fast..!
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Jun 29, 2009 6:42 pm
Reply with quote

What can I say, Anuj? Fast fingers? icon_biggrin.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Jun 29, 2009 6:47 pm
Reply with quote

May be better key board... or was I taking rather long intervals in adjusting my glasses icon_biggrin.gif

36_2_51.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Jun 29, 2009 8:29 pm
Reply with quote

Quote:
rather long intervals in adjusting my glasses

Bar service is slow ?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Jun 30, 2009 12:51 pm
Reply with quote

oh no...glasses=Spectacles... icon_smile.gif
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