Installing DB2 stored procedures
The following procedure installs stored procedures and one User Defined Function (UDF) into your database. These procedures should be performed by your Database Administrator.
Procedure
- Connect to the database using the Command Editor. Use the same user id and password specified in update.mdq.
- Set statement terminator to @ in Command Editor (at the bottom of the screen).
- Set the Command Editor option to Stop Execution on Error (
- Open the SQL File, DB2V9TMSP.SQL in an editor and change the connect statement to the user id and password assigned in Trading Manager's update.mdq, as described in the Preparation steps. DB2V9TMSP.SQL is located in the install_dir/tmgr_dir/pmgr/sql directory, where install_dir indicates the installation location of the core WebSphere Transformation Extender product and tmgr_dir indicates the location of Trading Manager.
- Copy the changed SQL file and paste into the Command Editor and execute. If any errors are reported, contact your Database Administrator and/or IBM support.
- The SQL file contains a suggested test call that can be run at this point.
- To use the stored procedures in Trading Manager, set Use Stored Procedures in Partner Manager: