Operating System Procedure Calls; Table 1-5. System Procedure Calls - HP NonStop TMF Programming Manual

Management programming manual
Table of Contents

Advertisement

Introduction to TMF

Operating System Procedure Calls

Through its Guardian application program interface (API), the NonStop operating
system provides procedure calls you can include in application programs written in
any of the following languages: C, C++, COBOL, FORTRAN, Pascal, and the native
Transaction Application Language (TAL). In most cases, the code for the procedures is
made available through external declaration files provided with the compiler.
Through the procedure calls, you can request many system services.
few of the calls that you can apply to TMF transactions.

Table 1-5. System Procedure Calls

Procedure Call
ABORTTRANSACTION
ACTIVATERECEIVETRANSID
BEGINTRANSACTION
COMPUTETRANSID
ENDTRANSACTION
FILE_GETINFO[LIST][BYNAME]
GETTMPNAME
GETTRANSID
INTERPRETTRANSID
RESUMETRANSACTION
STATUSTRANSACTION
TEXTTOTRANSID
TRANSIDTOTEXT
HP NonStop TMF Management Programming Manual—540140-008
Description
Cancels a transaction. When a process calls this
procedure, TMF backs out the database changes
associated with the current transaction.
Permits multithreaded servers to read requests from
$RECEIVE before replying to previously read
$RECEIVE requests.
Starts a new transaction and creates a new
transaction identifier for the process.
Converts the individual numeric components of a
transaction identifier to a transaction identifier in
internal format.
Commits the database changes associated with a
transaction identifier. If the action completes
successfully, the changes made by the transaction
are permanent.
Returns information about a file, including whether the
redo or undo phases of file recovery are required to
return the file to a consistent state.
Obtains the name of the transaction management
process.
Returns the current transaction identifier of the calling
process.
Converts a transaction identifier in internal format to
its numeric components.
Restores as current a transaction identifier created by
a previous call to BEGINTRANSACTION.
Returns the transaction state of the current
transaction or that of a specified transaction.
Converts a transaction identifier from its external
ASCII form to internal format.
Converts a transaction identifier in internal format to
its external ASCII form.
1-10
Operating System Procedure Calls
Table 1-5
lists a

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents