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
 

 

Regarding catalog procedures

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Rupa.P.V
Warnings : 1

New User


Joined: 04 Jul 2006
Posts: 30

PostPosted: Tue Jul 11, 2006 2:05 pm    Post subject: Regarding catalog procedures
Reply with quote

Hi all,

I have a query regarding catalog procedures

I want to invoke a catlg proc in another catlg proc.
If all the procs are in single dataset there is no problem.....
But those procs are present in different datasets(PDS).

For the first proc i can give the JCLLIB.ORDER and provide the library where the proc is...
But for second proc (which i want to invoke from first proc)
where can i mention the library to provide the path.....

If possible provide an example and explain.....
Back to top
View user's profile Send private message

SIVAMAIN

New User


Joined: 24 Jun 2006
Posts: 12

PostPosted: Tue Jul 11, 2006 3:35 pm    Post subject: Re: Regarding catalog procedures
Reply with quote

Hi Rupa,

I am Siva to give JCLLIB ORDER for different Cataloged procedures which they reside on diferrent pds just give the following
statement

//WQEWSIVA JOB NOTIFY=&SYSUID
//JOBPROC JCLLIB ORDER= H510784.SIVAMAIN.PDS1,H510784.SIVAMAIN.PDS2,H510784.SIVAMAIN.PDS3...)
//STEP001 EXEC PROC=CATPROC
//

TRY THIS AND LET ME KNOW IF IT WORKS.

BYE

REGARDS SIVA.
Back to top
View user's profile Send private message
Rupa.P.V
Warnings : 1

New User


Joined: 04 Jul 2006
Posts: 30

PostPosted: Tue Jul 11, 2006 4:43 pm    Post subject: Re: Regarding catalog procedures
Reply with quote

SIVAMAIN wrote:
Hi Rupa,

I am Siva to give JCLLIB ORDER for different Cataloged procedures which they reside on diferrent pds just give the following
statement

//WQEWSIVA JOB NOTIFY=&SYSUID
//JOBPROC JCLLIB ORDER= H510784.SIVAMAIN.PDS1,H510784.SIVAMAIN.PDS2,H510784.SIVAMAIN.PDS3...)
//STEP001 EXEC PROC=CATPROC
//

TRY THIS AND LET ME KNOW IF IT WORKS.

BYE

REGARDS SIVA.



Thanks siva, i will try and let u know the result......
Back to top
View user's profile Send private message
prashantshinde

New User


Joined: 25 Nov 2005
Posts: 44
Location: Pune

PostPosted: Tue Jul 11, 2006 5:27 pm    Post subject:
Reply with quote

yes ..
solution given by SIVA is right. All you have to do is place the PDSs in JCLLIB ORDER in same order as the catlouged procedure within them will be invoked.
Like in SIVA's example the...PDS1 will contain CATPROC,...PDS2 will have the catlouged procedure invoked by CATPROC and so on..
Back to top
View user's profile Send private message
Rupa.P.V
Warnings : 1

New User


Joined: 04 Jul 2006
Posts: 30

PostPosted: Wed Jul 12, 2006 10:17 am    Post subject:
Reply with quote

Hi Siva/Prashanth,

Its giving syntax when i give like this
JOBPROC JCLLIB ORDER= H510784.SIVAMAIN.PDS1,H510784.SIVAMAIN.PDS2,H510784.SIVAMAIN.PDS3...)

Error message is "
Extraneous parameters in the JCLLIB statemnts"


Please if possible u too try once and let me know the result.....

Thanks...
Back to top
View user's profile Send private message
prashantshinde

New User


Joined: 25 Nov 2005
Posts: 44
Location: Pune

PostPosted: Wed Jul 12, 2006 10:38 am    Post subject:
Reply with quote

[quote="Rupa.P.V"]
JOBPROC JCLLIB ORDER= H510784.SIVAMAIN.PDS1,H510784.SIVAMAIN.PDS2,H510784.SIVAMAIN.PDS3...)

Error message is "
Extraneous parameters in the JCLLIB statemnts"



[quote]

Did you enclose all PDSs in brackets "( )" ?
If possible try to give your exact code and error message. That will help much.
Back to top
View user's profile Send private message
Rupa.P.V
Warnings : 1

New User


Joined: 04 Jul 2006
Posts: 30

PostPosted: Thu Jul 13, 2006 11:07 am    Post subject: Re: Regarding catalog procedures
Reply with quote

Hi Siva/Prashant,

Its working when i give it in brackets.
Thanks a lot for ur help....


With Regards
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 Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm
No new posts native db2 Stored procedures on Mainf... HABBIE DB2 2 Tue Aug 04, 2015 1:54 pm
No new posts Native stored procedures on IMS DB HABBIE IMS DB/DC 3 Wed Jul 29, 2015 10:41 am
No new posts How to detect a locked user catalog Ron Bakker NL JCL & VSAM 2 Tue Jul 08, 2014 7:18 pm
No new posts Catalog Search Interface : IGGCSI00 :... Mike.Fulton JCL & VSAM 23 Wed Jun 11, 2014 5:22 am


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