C Examples: DbiBeginTran

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

C Examples: DbiBeginTran

Return to chapter overview

Start a transaction on the specified database.

This example uses the following input:
         fDbiBeginTran(hDb, xilDIRTYREAD, &xTran);

DBIResult fDbiBeginTran(hDBIDb hTmpDb, eXILType xType, phDBIXact phXact)

{

   DBIResult   rslt;

   rslt = Chk(DbiBeginTran(hTmpDb, xType, phXact));

   return rslt;

}