RSC/MP 7.2 Programming Manual
Application Development
HP NonStop Remote Server Call (RSC/MP) Programming Manual—522360-004
6-9
Generating Transactions Automatically (Implicitly)
Table 6-2 lists the valid use of TMF_OPTION constants and explicit transactions with
the various RSC/MP operations.
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 values 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.
Table 6-1. Definition of TMF_OPTION Values
TMF 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.
Table 6-2. Using TMF_OPTION Values
TMF_OPTION
Operation0123
Write OK OK No No
WriteRead OK OK OK OK
where:
OK = Allowed
No = Not allowed