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 bitween jcllib and proclib

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: difference bitween jcllib and proclib
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: 205
Location: Bangalore

PostPosted: Tue Jan 22, 2008 4:37 pm    Post subject: Reply to: difference bitween jcllib and proclib
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: 1288
Location: Chennai, India

PostPosted: Tue Jan 22, 2008 5:00 pm    Post subject: Reply to: difference bitween jcllib and proclib
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    Post subject:
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

Senior Member


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

PostPosted: Tue Jan 22, 2008 5:58 pm    Post subject:
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    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Mon Jun 29, 2009 3:50 pm    Post subject:
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

Senior Member


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

PostPosted: Mon Jun 29, 2009 4:14 pm    Post subject:
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    Post subject:
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: 7912
Location: Bellevue, IA

PostPosted: Mon Jun 29, 2009 6:30 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Mon Jun 29, 2009 6:38 pm    Post subject:
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

Senior Member


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

PostPosted: Mon Jun 29, 2009 6:39 pm    Post subject:
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: 7912
Location: Bellevue, IA

PostPosted: Mon Jun 29, 2009 6:42 pm    Post subject:
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

Senior Member


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

PostPosted: Mon Jun 29, 2009 6:47 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Mon Jun 29, 2009 8:29 pm    Post subject:
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

Senior Member


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

PostPosted: Tue Jun 30, 2009 12:51 pm    Post subject:
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    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 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
No new posts Difference between COBOL for MAINFRAM... dejunzhu COBOL Programming 1 Sat Oct 31, 2015 2:18 pm


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