Clients can send two types of requests to TRS:
SQL language requests
Remote procedure calls (RPCs)
Requests can be sent to TRS two ways, directly or indirectly:
Direct requests are RPCs or SQL language statements that access TRS without an intermediary server.
Indirect requests invoke an RPC on Adaptive Server, ASE/CIS or Replication Server, which then sends a request to TRS.
If you are using MainframeConnect for DB2 UDB, TRS directs requests to the AMD2 transaction at the mainframe. If you are using ASE/CIS Access Module for DB2 UDB for IMS and MVS, TRS directs requests to the SYRT transaction at the mainframe. (See “Configuring a default SQL language handler for TRS”.)
Clients can send SQL language requests and RPCs to the AMD2 transaction. TRS handles any request sent indirectly (that is, through Adaptive Server) as an RPC. Long-running transactions cannot be sent through Adaptive Server because Adaptive Server logs out of TRS after each request. This is not true for ASE/CIS.
Copyright © 2005. Sybase Inc. All rights reserved. |