I have an application that interfaces with an SS7/IP gateway. The application waits for incoming trafic, extracts specific, information, and currently responds with a static text message. I need to integrate into the main application as a subroutine, DB2 client code (CLI?) to pass parameters to a stored procedure, wait for a response, and pass the plain text back into the main app. The application will then send this text in the form of a reply to the requesting gateway.
## Deliverables
1. Calling and passing multiple parameters to a DB2 stored procedure. 2. wait a configurable timeout period for a response. 3. Put the resulting text (probably a 1 row fetch) into a variable to be used by the main application.