Appendix E: Sample RPC Application for IMS TM (Explicit)

This appendix contains a sample long-running transaction that runs under the IMS TM explicit API. This transaction processes a client RPC. The COBOL program listed here is included on the Open ServerConnect API tape.

The purpose of this sample program is to demonstrate the use of Gateway-Library functions in IMS TM programs, particularly those designed to handle long-running transactions. In order to best illustrate the flow of processing, the program does not do extensive error checking.

This sample program is provided as part of the Open ServerConnect package. It uses DB2, VS COBOL II and Gateway-Library.