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
 

 

what is PROCLIB with example

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
nutan

New User


Joined: 27 Jan 2006
Posts: 26

PostPosted: Fri Feb 24, 2006 10:57 am    Post subject: what is PROCLIB with example
Reply with quote

Hi,
Can you just tell me what is PROCLIB with example ? What is the difference between PROCLIB and JCLLIB ? When can we use it ?

Regards,
Nutan
Back to top
View user's profile Send private message

fixdoubts

New User


Joined: 21 Oct 2005
Posts: 54

PostPosted: Fri Feb 24, 2006 11:07 am    Post subject:
Reply with quote

Hi,

A JCLLIB contains the path for the load modules required for the job executions, required for the PROGRAMs in the job.

Where as the PROCLIC contains the path for the PROCs u have used in the job. some thing like this.

PROCLIB=x.x.proclib
JOBLIB=X.X.JOBLIB

//STEPPRC EXEC TESTPRC
//.....
//.....
//STEPJOB EXEC PGM=TESTPGM
//.....
//......

Here JOBLIB contains path for LOAD MODULES for TESTPGM
and PROCLIB the path where the TESTPRC resides.

Hope this will be useful.

Regards,
Back to top
View user's profile Send private message
vikasc4

New User


Joined: 11 Dec 2005
Posts: 32

PostPosted: Fri Feb 24, 2006 11:23 am    Post subject:
Reply with quote

hi fixdoubts,

According to u..
Quote:
A JCLLIB contains the path for the load modules required for the job executions, required for the PROGRAMs in the job
.

But i think only JOBLIB and STEPLIB cantains the path for the load modules required for the job executions.

whereas jcllib and proclib are used to specify where jcl is to be loaded from, rather than programs. jcllib is used with the INCLUDE MEMBER statement to specify the library where pieces of jcl are held that can be included into a number of jobs. I have not seen this actually used, more often rather than separating out parts of job steps and including them it is more usual to extract out complete job steps into separate procedures stored in a proc library. proclib is the dd statement to override where to get procedures from.

correct me if i am wrong..

regards
Vikas
Back to top
View user's profile Send private message
bonniem

New User


Joined: 09 Aug 2005
Posts: 67

PostPosted: Fri Feb 24, 2006 11:24 am    Post subject:
Reply with quote

You are confusing JOBLIB and JCLLIB here.

JOBLIB is what you have mentioned, contains load modules.

JCLLIB is where you put our procs, and tell the JCL to look in that library for any procs used in the JCL.
Back to top
View user's profile Send private message
vikasc4

New User


Joined: 11 Dec 2005
Posts: 32

PostPosted: Fri Feb 24, 2006 11:27 am    Post subject:
Reply with quote

ya bonniem u r right!!!!!!!!!

regards
vikas
Back to top
View user's profile Send private message
fixdoubts

New User


Joined: 21 Oct 2005
Posts: 54

PostPosted: Fri Feb 24, 2006 11:34 am    Post subject:
Reply with quote

Yeah guys..

think u have not read the whole of the posting. i have corrected it in the
next lines i have said it as JOBLIB.

The first i meant the JOBLIB..

Thanks for correcting me

Regards,
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Feb 24, 2006 12:45 pm    Post subject: Re: PROCLIB
Reply with quote

I have found two definitions of the term PROCLIB.

One is in reference to a CA product: "PROCLIB is an extra cost product from Computer Associates that is named CA-EZPROC." This product apparently does what the JCLLIB statement does.

Another is the PROCLIB parameter of the /*JOBPARM JES2 parameter:

/*JOBPARM PROCLIB=ddname where
Quote:

PROCLIB=ddname
Requests a JES2 procedure library by its ddname, as defined in the JES2 procedure used to initialize JES2. Typically, JES2 procedure library ddnames are in the format PROCnn, where nn is either 00 or 1 or 2 decimal numbers from 1 through 99. You can, however, use any valid ddname as long as the name matches the ddname in the JES2 procedure. The system retrieves called cataloged procedures from the requested JES2 procedure library.

If you omit the PROCLIB parameter, or the ddname cannot be found in the procedure used to start JES2, JES2 uses the procedure library specified on the PROC=nn parameter on one of the following JES2 initialization statements:


JOBCLASS(v) for each job class
STCCLASS for all started tasks
TSUCLASS for all time-sharing tasks

If the PROC=nn parameter is not defined on the appropriate initialization statement, or if it is not valid, JES2 uses the default library, PROC00. See z/OS JES2 Initialization and Tuning Guide for information about creating the JES2 cataloged procedure and z/OS JES2 Initialization and Tuning Reference for information about defining JES2 initialization statements.


See here for more information.
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 can we give JCLLIB and PROCLIB together vidyaa JCL & VSAM 3 Mon Dec 01, 2008 11:11 pm
No new posts SYSIN in PROCLIB Charles Pillai JCL & VSAM 12 Wed May 28, 2008 10:52 am
No new posts difference bitween jcllib and proclib onkarnath JCL & VSAM 17 Tue Jan 22, 2008 4:29 pm
No new posts How do we upload a procedure to a SYS... Ashok singh JCL & VSAM 3 Mon Sep 18, 2006 12:47 pm
No new posts difference between proclib and jcllib clever_ramana JCL & VSAM 5 Fri Nov 18, 2005 5:04 pm


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