Availability Guide for Application Design

Data Protection and Recovery
Availability Guide for Application Design525637-004
4-11
RSC/MP Interface
The POET API supports both waited and nowaited client interfaces to the HP host.
Hence, you have a choice between two statements for starting, committing, or aborting
a transaction.
Refer to Section 6, Availability in the Pathway Transaction-Processing Environment, for
more information on availability for this type of application.
RSC/MP Interface
For client processes running on a wide variety of personal computers or workstations,
you can call the TMF transaction-control features indirectly using RSC/MP. You can
invoke the transaction control features in any language supported by RSC/MP for the
specific hardware and system software environment. Refer to the RSC/MP
Programming Manual for details on which languages are supported for any given
hardware.
Table 4-3 lists the statements for each language to start, commit, or abort a
transaction.
Transactions can also be automatically started, committed, or aborted without using
these functions if the RSC/MP subsystem is configured for including the transaction-
control requests with I/O function calls.
Refer to Section 6, Availability in the Pathway Transaction-Processing Environment, for
more information on availability for this type of application. For details of the
programmatic interface to RSC/MP, refer to the RSC/MP Programming Manual.
Table 4-2. POET Gateway Interface to Transaction Control Facilities
Function...
In the Microsoft Windows95 or Windows NT environment is
provided by the statement...
To start a
transaction
PoetBeginTransaction or
PoetWTBeginTransaction
To commit a
transaction
PoetEndTransaction or
PoetWTEndTransaction
To abort a
transaction
PoetAbortTransaction or
PoetWTAbortTransaction
Table 4-3. Remote Server Call Interface to Transaction Control Facilities
Function... In the language... Is provided by the statement...
To start a
transaction
C
Other
RscBeginTransaction
RSCBGN
To commit a
transaction
C
Other
RscEndTransaction
RSCENT
To abort a
transaction
C
Other
RscAbortTransaction
RSCABT