Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to identify a stored procedure in our application

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: How to identify a stored procedure in our application
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    Post subject: Re: How to identify a stored procedure in our application
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:

http://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    Post subject: Re: How to identify a stored procedure in our application
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Handling result sets in the calling N... Rusikesh DB2 7 Fri Apr 13, 2018 12:25 am
No new posts Need to identify top 10 costly or tim... ashek15 DB2 4 Wed Feb 14, 2018 3:20 am
No new posts Migrating Java application from JVM p... danik56 CICS 0 Sat Dec 23, 2017 1:42 pm
No new posts CICS web service from DB2 Triggers or... kiranprasad DB2 2 Wed Dec 20, 2017 11:10 am
No new posts DFHJSON-TRANSFRM container for WebSer... mbattu CICS 0 Fri Oct 20, 2017 2:18 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us