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

DB2 stored procedure ?


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ashishsr123

New User


Joined: 06 May 2008
Posts: 33
Location: Chennai

PostPosted: Mon Apr 20, 2009 12:28 pm
Reply with quote

COBOL DB2 Stored Procedures

Hi All,

Are ther any pointers(clues) in the programs which can tell us that, the given program is DB2 stored procedure ? And is called by a online application ?

Regards,
Ashish
Back to top
View user's profile Send private message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Tue Apr 21, 2009 2:46 am
Reply with quote

There need not be any difference within the code. We have programs which we call as cobol routine as well as Stored procedures. It depends on the way you call it. If a SP is called from a COBOL program, you issue the call statement like this

Code:
EXEC SQL
CALL STORPROC (:ARG1,:ARG2)
END SQL
[/code]
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Invoke stored procedure via batch JCL. DB2 2
No new posts Calling COBOL DB2 program from a COBO... COBOL Programming 2
No new posts Cond parameter and Rc code of a proce... JCL & VSAM 5
This topic is locked: you cannot edit posts or make replies. Internal Autonomous Stored Procedure ... DB2 6
No new posts Stored procedure cpu utilization DB2 1
Search our Forums:

Back to Top