DCE Application Programming Guide

NonStop DCE Jacket Functions
HP NonStop DCE Application Programming Guide429551-003
C-17
TMF Transaction Demarcation
TMF Transaction Demarcation
The reference pages for the TMF transaction-demarcation jacket functions are in:
Figure C-7 on page C-17: DCE_BEGINTRANSACTION(3)
Figure C-8
on page C-18: DCE_ENDTRANSACTION(3)
Figure C-9
on page C-19: DCE_ABORTTRANSACTION(3)
Figure C-10
on page C-20: DCE_RESUMETRANSACTION(3)
Figure C-7. DCE_BEGINTRANSACTION(3) Reference Page
NAME
DCE_BEGINTRANSACTION
Starts a new transaction associated with the current process and current thread
SYNOPSIS
#include <dce/pthread.h>
signed16 DCE_BEGINTRANSACTION(
signed32 *trans-begin-tag
);
PARAMETERS
Output
trans-begin-tag
returns a value that identifies the new transaction among other transaction
identifiers that the calling process has begun.
DESCRIPTION
This function begins a new transaction associated with the current process and the
current thread.
RETURN VALUES
A status word is returned. The value is one of the following:
0 (FEOK) The DCE_BEGINTRANSACTION() operation finished
successfully.
Nonzero values The Guardian file-system error with this error number occurred.
RELATED INFORMATION
Functions: DCE_ENDTRANSACTION(3).