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

what is PROCLIB with example


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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
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
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
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

Global Moderator


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

PostPosted: Fri Feb 24, 2006 12:45 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Redefine SYS1.PROCLIB JCL & VSAM 12
No new posts can we give JCLLIB and PROCLIB together JCL & VSAM 3
No new posts SYSIN in PROCLIB JCL & VSAM 12
No new posts difference bitween jcllib and proclib JCL & VSAM 17
No new posts How do we upload a procedure to a SYS... JCL & VSAM 3
Search our Forums:

Back to Top