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
 

 

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 Could we identify the called modules ... elixir1986 COBOL Programming 5 Fri Jul 14, 2017 1:53 am
No new posts Identify top 30 big tables or indexes... ashek15 DB2 0 Fri Jun 16, 2017 10:01 am
No new posts Application not run by time HH:MM tri... jzhardy IBM Tools 1 Sun Apr 09, 2017 3:22 pm
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm


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