NWTTSAbortTransaction(3nw)


NWTTSAbortTransaction -- aborts all transactions, explicit and implicit

Synopsis

   #include <nwtts.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWTTSAbortTransaction (NWCONN_HANDLE conn);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

Return values

0x00
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x89FE
DIRECTORY_LOCKED

0x89FE
Transaction Restart

0x89FF
LOCK_ERROR

Notices

When NWTTSAbortTransaction is complete, all transactions will have been successfully backed out.

If a transaction is aborted, all Writes made since the beginning of a transaction are cancelled, and all files are returned to the state they were in before the transaction began.

NWTTSAbortTransaction releases the following record locks:

0x89FE indicates more than the threshold number of logical or physical records are still locked by the application. However, the transaction is finished and any locks being held are released. When this happens, the NetWare server automatically starts a new implicit transaction.

Services

Transaction Tracking

NCP calls

0x2222 34 3 TTS Abort Transaction

 
 0x2222   34   3   TTS Abort Transaction 

References

NWTTSBeginTransaction(3nw), NWTTSEndTransaction(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.