TMF Management Programming Manual (G06.24+)

Introduction to TMF
HP NonStop TMF Management Programming Manual522420-002
1-10
Operating System Procedure Calls
For further information about system procedure calls, see the Guardian Procedure
Calls Reference Manual. For information about how to issue these calls from the
language you are using, see that language’s reference manual.
Table 1-5. System Procedure Calls
Procedure Call Description
ABORTTRANSACTION Cancels a transaction. When a process calls this
procedure, TMF backs out the database changes
associated with the current transaction.
ACTIVATERECEIVETRANSID Permits multithreaded servers to read requests from
$RECEIVE before replying to previously read
$RECEIVE requests.
BEGINTRANSACTION Starts a new transaction and creates a new
transaction identifier for the process.
COMPUTETRANSID Converts the individual numeric components of a
transaction identifier to a transaction identifier in
internal format.
ENDTRANSACTION Commits the database changes associated with a
transaction identifier. If the action completes
successfully, the changes made by the transaction
are permanent.
FILE_GETINFO[LIST][BYNAME] 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.
GETTMPNAME Obtains the name of the transaction management
process.
GETTRANSID Returns the current transaction identifier of the calling
process.
INTERPRETTRANSID Converts a transaction identifier in internal format to
its numeric components.
RESUMETRANSACTION Restores as current a transaction identifier created by
a previous call to BEGINTRANSACTION.
STATUSTRANSACTION Returns the transaction state of the current
transaction or that of a specified transaction.
TEXTTOTRANSID Converts a transaction identifier from its external
ASCII form to internal format.
TRANSIDTOTEXT Converts a transaction identifier in internal format to
its external ASCII form.