• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

Anyone know the query syntax for calling a Stored Procedure in DB2?

I would like to start using stored procedures in DB2 with JSP, but I don't know the query syntax and the IBM site is almost useless.

Anyone have query examples they can share?
Thanks
0
cgttsp01
Asked:
cgttsp01
  • 2
1 Solution
 
cheekycjCommented:
calling a stored proc in JSP is the same as in standard Java.  Use the CallableStatement Object.

http://www.j-netdirect.com/GenStoredProcedures.htm
http://java.sun.com/docs/books/tutorial/jdbc/basics/sql.html

Sun's entire tutorial is an excellent resource:
http://java.sun.com/docs/books/tutorial/jdbc/index.html

for db2 specific info:
http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg245945.pdf

CJ
0
 
cheekycjCommented:
Thanx for the "A" and good luck.

CJ
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now