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

Difference between instream and catalog procedure


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
hibuddies
Warnings : 1

New User


Joined: 06 Feb 2007
Posts: 20
Location: Bangalore

PostPosted: Wed Mar 07, 2007 11:45 pm
Reply with quote

Hi all..

Please any one of you list out the differences between the Instream Procedure and Catalog Procedure.

Thanks in advance.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Mar 08, 2007 12:01 am
Reply with quote

Have you tried the fine manual?

O.
Back to top
View user's profile Send private message
manmadharasa

New User


Joined: 05 Mar 2007
Posts: 5
Location: Chennai

PostPosted: Thu Mar 08, 2007 5:47 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Mar 08, 2007 10:21 pm
Reply with quote

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
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts DASD - non SMS - volser change - VSAM... JCL & VSAM 2
No new posts Invoke stored procedure via batch JCL. DB2 2
No new posts What is the difference between Taskty... Compuware & Other Tools 2
Search our Forums:

Back to Top