OpenTP1 Version 7 Description
The remote API facility is the processing in which OpenTP1 transfers an API issued by the UAP at a client node to the server, and server processes are used to perform the delegated execution of the API. The UAP at the client node that requests the remote API facility is called a RAP-processing client. The RAP-processing listener of OpenTP1 receives the API issued by the RAP-processing client and the RAP-processing server executes the API on the server node. The RAP-processing listener and RAP-processing server operate as user services of OpenTP1.
Figure 3-62 shows an overview of the remote API facility.
Figure 3-62 Remote API facility
Table 3-17 shows the UAPs that can be a RAP-processing client.
Table 3-17 UAPs that can be RAP-processing clients
Program Product | UAPs that can be a RAP-processing client |
---|---|
TP1/Server Base | SUP, SPP, MHP |
TP1/Client | CUP |
The APIs that can be executed remotely for each type of RAP-processing client are listed below.
C library function | Program for creating a COBOL-UAP |
---|---|
dc_rpc_call | CBLDCRPC ('CALL ') |
C library function | Program for creating a COBOL-UAP |
---|---|
dc_rpc_call_s | CBLDCRPS ('CALL ') |
dc_trn_begin_s | CBLDCTRS ('BEGIN ') |
dc_trn_chained_commit_s | CBLDCTRS ('C-COMMIT') |
dc_trn_chained_rollback_s | CBLDCTRS ('C-ROLL ') |
dc_trn_unchained_commit_s | CBLDCTRS ('U-COMMIT') |
dc_trn_unchained_rollback_s | CBLDCTRS ('U-ROLL ') |
Method |
---|
rpcCall |
trnBegin |
trnChainedCommit |
trnChainedRollback |
TrnUnchainedCommit |
trnUnchainedRollback |
Method |
---|
Call |
Begin |
CommitChained |
RollbackChained |
Commit |
Rollback |
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.