The following are tasks which must be completed before a stored procedure can be run on an DB2 LUW Server:
- Prepare the application according to your embedded SQL documentation for creating stored procedure.
- Define the stored procedure to the DB2 LUW Server. See Defining Stored Procedures under DB2 LUW.
- Place the stored procedure DLL or JAVA routine on the DB2 LUW Server machine in a location specified in the CREATE PROCEDURE. If not specified, the default location is the
sqllib\function subdirectory where DB2 LUW is installed.