As described in Chapter 3, “Configuring a TRS,” TRS maps RPCs to mainframe transactions. If your site uses the Mainframe Connect DB2 UDB Option, RPCs are mapped either to AMD2 or to the Catalog RPCs, which retrieve specific catalog information about DB2 UDB system tables.
Clients can use any of the following methods to send an RPC to TRS:
Using isql or another SQL utility, send the RPC using the execute command.
Include the RPC in an Open Client application, and send the RPC directly to TRS.
Send an RPC indirectly. A client can call a stored procedure in Adaptive Server that in turn sends an RPC to TRS. (Do not use this method for long-running transactions unless you are using the functionality of ASE/CIS.)