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
 

 

Difference between instream and catalog procedure

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Difference between instream and catalog procedure
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: 2360
Location: Israel

PostPosted: Thu Mar 08, 2007 12:01 am    Post subject:
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    Post subject: Instream and Catalog procedures
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

Site Director


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

PostPosted: Thu Mar 08, 2007 10:21 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm


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