RSC/MP Programming Manual
Application Development
Generating Transactions Automatically (Implicitly)
Table 6-1. Definition of TMF_OPTION Values
TM F Option Result
0 No automatic TMF operations.
1
RSC_BEGIN_TRANS
Begins a TMF transaction before the TDP
sends the transaction request to the
target server.
2
RSC_END_TRANS
Ends the transaction upon completion of
the TDP receiving the transaction reply
from the target server, if the server reply
code is between the SUCCESS_LO and
SUCCESS_HI options.
3
RSC_BEGIN_END_TRANS
Begins a TMF transaction before the TDP
sends the transaction request to the
target server, and end the transaction
upon completion of the TDP receiving the
transaction reply from the target server.
Ta ble 6-2 lists the va lid use of TMF_OPTION constants and explicit transactions with
the various RSC/MP operations.
Table 6-2. Using TMF_OPTION Values
TMF_OPTION
Operation 0 1 2 3
Write OK OK No No
WriteRead OK OK OK OK
where:
OK = Allowed
No = Not allowed
Do not specify the TMF_OPTION, SUCCESS_HI, or SUCCESS_LO options in the
[RSC] section of the RSC.INI file as your settings would be loaded into the default
options structure and used in any call to which RSC_DEFAULT_OPTIONS is supplied.
The handle of the option structure that contains TMF option va lues is supplied to the
RscWriteRead function. The TMF_OPTION, SUCCESS_HI, and SUCCESS_LO
options are sent with the RscWriteRead message in a single I/O to the host.
HP NonStop Remote Server Call (RSC/MP) Programming Manual — 522360-006
6- 9