View previous topic :: View next topic
|
Author |
Message |
hibuddies Warnings : 1 New User
Joined: 06 Feb 2007 Posts: 20 Location: Bangalore
|
|
|
|
Hi all..
Please any one of you list out the differences between the Instream Procedure and Catalog Procedure.
Thanks in advance. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
Back to top |
|
|
manmadharasa
New User
Joined: 05 Mar 2007 Posts: 5 Location: Chennai
|
|
|
|
Hi,
If you think a part of code in your JCL will be used more than once, then you can use that code as a instream catalog. If you think the same code might require in some other JCL's. Then remove that part of code and put it in some separate member. So that all the JCL's can use the code from that member.
Simply saying.. Instream procedure can be used only by that JCL. Catalog procedure can be used in N number for JCL's. When you use Catalog procedure, you must use JCLLIB to provide the library which has that Catalog procedure.
I hope now you understand the differences. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Instream is a "proc and pend" and is only in your jcl.
Cataloged is placed in a "proclib" and the only reference in the jcl is a
Code: |
//stepname EXEC procname |
. |
|
Back to top |
|
|
|