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

How to identify a stored procedure in our application


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

New User


Joined: 19 Mar 2006
Posts: 26
Location: India

PostPosted: Sun Mar 26, 2006 1:01 pm
Reply with quote

Hi !

How to identify a stored procedure in our application ?

Regards,
bh
Back to top
View user's profile Send private message
T-REXDB2

New User


Joined: 28 Apr 2005
Posts: 11
Location: USA

PostPosted: Mon Mar 27, 2006 7:39 am
Reply with quote

bh wrote:
Hi !

How to identify a stored procedure in our application ?

Regards,
bh


Hope this helps...... ;-]

An example straight from the z/OS DB2 Application Programming & SQL Guide:

publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dsnaph15/6.2.2?DT=20050720111055#HDRQXMPST
Back to top
View user's profile Send private message
rajakumar10

New User


Joined: 03 Aug 2005
Posts: 12

PostPosted: Wed Mar 29, 2006 9:21 pm
Reply with quote

Stored procedures are always coded between EXEC SQL & END EXEC
E.G.
Consider I have a stored procedure TEST12 then the code will look like this..

EXEC SQL
CALL TEST12 (:WS-DATA1)
END-EXEC
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Identify and write records containing... SYNCSORT 11
No new posts Identify Number of Multivolume Dataset All Other Mainframe Topics 5
No new posts Queue application affecting performance CICS 12
No new posts Excuting store procedure via JCL batch JCL & VSAM 1
No new posts Executing DB2 SQL store procedure via... DB2 1
Search our Forums:


Back to Top