Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetttsab()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETTTSAB()
 Aborts a running transaction
------------------------------------------------------------------------------
 Syntax

     NNETTTSAB([<cServer>|<nConId>]) --> lSuccess

     Netware: 2.2 and 3.11

 Arguments

     <cServer> Designates the name of the file server that is used.
     Your workstation must be attached to <cServer>.

     <nConId> Designates the connection ID of your workstation on
     <cServer>.

 Returns

     NNETTTSAB() returns .T. if the current transaction of <cServer> has been
     aborted.  If an error occurs, the function returns .F..

 Description

     NOVELL NET TRANSACTION TRACKING SYSTEM ABORT
     NNETTTSAB() allows you to abort the active transaction (rollback).  All
     modifications performed by the current workstation in flagged,
     transactional files on <cServer> since the start of the transaction with
     NNETTTSBEG() become invalid.  For example, NNETTTSAB() can be called if
     a successful termination of the transaction is impossible.  NNETTTSAB()
     removes all file lockings of files affected by the transaction.

 Note

     .  When you use the Transactional Tracking System (TTS), always
        take into account that other stations might not be able to read files
        attached by the transaction (see the Introduction to this chapter).

 Example

     Abort the transaction if the available disk space is too small:

     BEGIN SEQUENCE
        NNETTTSBEG()
        //
        // Data manipulation
        //
        IF DISKSPACE() < 50000
           BREAK
        ENDIF
        //
        // Data manipulation
        //
        NNETTTSEND()
     RECOVER
        NNETTSAB()
     END

See Also: NNETTTSEND()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson