View previous topic :: View next topic
|
Author |
Message |
nutan
New User
Joined: 27 Jan 2006 Posts: 26
|
|
|
|
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 |
|
|
fixdoubts
New User
Joined: 21 Oct 2005 Posts: 54
|
|
|
|
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 |
|
|
vikasc4
New User
Joined: 11 Dec 2005 Posts: 32
|
|
|
|
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 |
|
|
bonniem
New User
Joined: 09 Aug 2005 Posts: 67
|
|
|
|
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 |
|
|
vikasc4
New User
Joined: 11 Dec 2005 Posts: 32
|
|
|
|
ya bonniem u r right!!!!!!!!!
regards
vikas |
|
Back to top |
|
|
fixdoubts
New User
Joined: 21 Oct 2005 Posts: 54
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
|