View previous topic :: View next topic
|
Author |
Message |
chkiran2
New User
Joined: 24 Jun 2004 Posts: 24 Location: Gurgoan
|
|
|
|
I need some clarfication regarding Catalog Procedures. If I am storing a catalog procedure in a user library I will specify the path using the PROCLIB statement. If suppose a PROC is to be stored SYSIBM library how to do that and also in that case when ever we refer to that PROC do we need need specify the path of the SYS libraries or does it take the SYS library as default? |
|
Back to top |
|
|
bluebird
Active User
Joined: 03 Feb 2004 Posts: 127
|
|
|
|
what do u call catalog procedures ?
is this JCL cataloged procedures ?
if so, ask ur sysprogs what are the procedure libraries or look into JES2 member of SYS1.parmlib.
if your procedure is in one of the JES procedure libraries then there's no need to specify a library in your JCL (thru JCLLIB statement)
if it is something else, can u be more specific ? |
|
Back to top |
|
|
bluebird
Active User
Joined: 03 Feb 2004 Posts: 127
|
|
|
|
what do u call catalog procedures ?
is this JCL cataloged procedures ?
if so, ask ur sysprogs what are the procedure libraries or look into JES2 member of SYS1.parmlib.
if your procedure is in one of the JES procedure libraries then there's no need to specify a library in your JCL (thru JCLLIB statement)
if it is something else, can u be more specific ? |
|
Back to top |
|
|
chkiran2
New User
Joined: 24 Jun 2004 Posts: 24 Location: Gurgoan
|
|
|
|
Yes I mean JCL catalog procedures i.e. if we are using a catalog procedure stored in a user library instead of system library. I think we can store the catalog precedures in user PDS. |
|
Back to top |
|
|
narayana
New User
Joined: 22 Apr 2005 Posts: 2
|
|
|
|
Hai plz give me the clarifcation regarding catalog procedure.
i know the usage of catalog procedure in jcl. if that procedure is member of pds we have to specify
//NAME JCLLIB ORDER=PDSNAME
BUT I WANT TO CATALOG IN SYS1.PROCLIB(DEFAULT LIBRARY
HOW CAN WE STORE THAT PROCEDURE IN SYSTEM PROC LIB(DEFAULT LIB) I KNOW BY USING IEBUPDTE UTILITY ITS POSSIBLE. BUT I DON'T KNOW HOW TO CODE THAT ONE.
AND WE HAVE DONE SO HOW CAN WE REFER THAT IN JCL (I THINK NO NEED TO GIVE PATH FOR THAT)
PLZ HELP ME ASAP.......[/b] |
|
Back to top |
|
|
shinjini_t
New User
Joined: 11 May 2005 Posts: 14 Location: Bangalore, India
|
|
|
|
Hi Kiran,
Yes we can put catalogued procedures into our private libraries and then indicate to the JCL to pick up the Proc from the private library.
For this we can use JCLLIB.
The JCLLIB statement must be placed before the first EXEC statement in the job.
//MYLIB JCLLIB ORDER=(MYPROC.JCL.PROCLIB,
// MYPROC.JCL.PROCLIB1)
The JCL will first check the PROCLIB library and then the PROCLIB1 library for the presence of the Procedure.
Thanks & regards,
Shinjini |
|
Back to top |
|
|
cvkumar59
New User
Joined: 25 Aug 2006 Posts: 18
|
|
|
|
i am unable to open jcl lib |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
That's nice. What would you like us to do about it? |
|
Back to top |
|
|
|