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

Regarding catalog procedures


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

PostPosted: Tue Jul 11, 2006 5:27 pm
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
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: 49
Location: Pune

PostPosted: Wed Jul 12, 2006 10:38 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DASD - non SMS - volser change - VSAM... JCL & VSAM 2
No new posts Infosphere Optim - unable to save Col... IBM Tools 0
No new posts user exits in Column Map procedures IBM Tools 0
No new posts Issue with CA Copycat-IGD17100I UNEXP... CA Products 5
No new posts Recreating VSAM cluster catalog info ... All Other Mainframe Topics 6
Search our Forums:

Back to Top