2.2.2 Processing Remote Service Requests
- The TMA TCP Handler receives the request from the remote TMA TCP gateway (in the Oracle Tuxedo region) over TCP/IP. If necessary, the data is translated and/or converted into the proper data format or layout.
- If the multiplex count is 1 and security is disabled, or if the service request came from a version of TMA TCP gateway prior to Version 3.0, then the following tasks occur.
- The Handler issues a CICS
LINK
command to execute the program specified in the TMA TCP protocol header. With theLINK
command it also passes along any request data provided by the client application that made the original Oracle Tuxedo service request. - The Handler waits for the CICS program to finish and receives any returned data from the CICS program.
- The Handler transmits the response to the remote TMA TCP gateway.
- The Handler stays connected to the remote gateway awaiting another service request.
- The Handler issues a CICS
- If the multiplex count is greater than 1 or security is enabled, then the following tasks occur.
- The Handler issues an
EXEC CICS START TRANS
call with the transaction specified in the Inbound Service File for the service specified in the TMA TCP protocol header. The transaction should be the same as the Application Handler program.Note:
If security is enabled, theEXEC CICS START TRANSID
call uses the user ID specified in the TMA TCP protocol header. - For any completed service requests, the Handler retrieves the response data from the Application Handler.
- The Handler transmits the response to the remote TMA TCP gateway gateway.
- The connection between the Handler and the gateway remains and the Handler waits for another service request.
- The Handler issues an
For tpacall/TPNOREPLY
requests, the remote program
is invoked by a CICS
START TRANSID
command and no data is returned to the original caller. In this
case, a unique transaction must be defined for the service. Use the
Inbound Service Information screen to enter this unique transaction
name rather than using the transaction name that starts the
Application Handler.
Parent topic: Running Oracle TMA TCP for CICS