View previous topic :: View next topic
|
Author |
Message |
Rupa.P.V Warnings : 1 New User
Joined: 04 Jul 2006 Posts: 30
|
|
|
|
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 |
|
|
SIVAMAIN
New User
Joined: 24 Jun 2006 Posts: 12
|
|
|
|
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 |
|
|
Rupa.P.V Warnings : 1 New User
Joined: 04 Jul 2006 Posts: 30
|
|
|
|
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 |
|
|
prashantshinde
New User
Joined: 25 Nov 2005 Posts: 49 Location: Pune
|
|
|
|
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 |
|
|
Rupa.P.V Warnings : 1 New User
Joined: 04 Jul 2006 Posts: 30
|
|
|
|
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 |
|
|
prashantshinde
New User
Joined: 25 Nov 2005 Posts: 49 Location: Pune
|
|
|
|
[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 |
|
|
Rupa.P.V Warnings : 1 New User
Joined: 04 Jul 2006 Posts: 30
|
|
|
|
Hi Siva/Prashant,
Its working when i give it in brackets.
Thanks a lot for ur help....
With Regards |
|
Back to top |
|
|
|