FT NetWare

 FT_ENDCAP()      Cancel a specific NetWare print queue capture
 FT_LOGOUT()      Logout from all currently connected NetWare file servers
 FT_NOVDMP2()     Determine Novell server's dynamic memory area 2 availability
 FT_NOVPURGE()    Purge all deleted files on a Novell server
 FT_NWLSTAT()     Return the current Novell NetWare logical station number
 FT_NWSEMCLOSE()  Close a NetWare semaphore
 FT_NWSEMEX()     Examine a NetWare semaphore's value and open count
 FT_NWSEMLOCK()   Perform a semaphore "lock"
 FT_NWSEMOPEN()   Open or create a NetWare semaphore
 FT_NWSEMSIG()    Signal a NetWare semaphore (increment)
 FT_NWSEMUNLOCK() "Unlock" a semaphore locked by FT_NWSEMLOCK()
 FT_NWSEMWAIT()   Wait on a NetWare semaphore (decrement)
 FT_NWUID()       Return the current Novell NetWare User ID
 FT_PFLUSH()      Flush a NetWare capture buffer
 FT_TTSABORT()    Abort explicit and implicit NetWare TTS transactions
 FT_TTSAVAIL()    Check whether default Novell file server supports TTS
 FT_TTSBEGIN()    Begin explicit transaction under NetWare's TTS
 FT_TTSEND()      End explicit or implicit transaction under NetWare's TTS
 FT_TTSSTAT()     Verify if TTS transaction has been written to disk

FT_TTSSTAT

FT_TTSSTAT()
 Verify if TTS transaction has been written to disk

 Syntax

    FT_TTSSTAT( <nTransNumber> ) -> nResult

 Arguments

   <nTransNumber> is the transaction number, returned from FT_TTSEND().

 Returns

     0 - Success, transaction written to disk
   255 - Transaction not yet written to disk

 Description

   For further information on NetWare's Transaction Tracking System (TTS),
   consult Novell's documentation.

 Examples

   nResult := FT_TTSSTAT()
   DO CASE
      CASE nResult == 0
         ? "Transaction wrttten to disk"
      CASE nResult == 255
         ? "Transaction not yet written to disk"
      OTHERWISE
         ? "Unknown result code"
   ENDCASE

 Source: NWTTS5.ASM

 Author: James R. Zack

See Also: FT_TTSABORT() FT_TTSAVAIL() FT_TTSBEGIN() FT_TTSEND()

FT_TTSEND

FT_TTSEND()
 End explicit or implicit transaction under NetWare's TTS

 Syntax

     FT_TTSEND() -> nResult

 Arguments

    None

 Returns

        0 - Transaction tracking finished (Success)
      253 - Transaction tracking disabled
      254 - Transaction ended, records locked
      255 - No explicit transactions active
    > 255 - Transaction number

 Description

   For further information on NetWare's Transaction Tracking System (TTS),
   consult your NetWare manuals.

 Examples

   nResult := FT_TTSEND()
   DO CASE
      CASE nResult == 0
         ? "Transaction ended"
      CASE nResult == 253
         ? "Transaction tracking disabled"
      CASE nResult == 254
         ? "Transaction ended, records locked"
      CASE nResult == 255
         ? "No explicit transactions active"
      OTHERWISE
         ? "Transaction number " + Ltrim(Str(nResult))
   ENDCASE

 Source: NWTTS4.ASM

 Author: James R. Zack

See Also: FT_TTSABORT() FT_TTSAVAIL() FT_TTSBEGIN() FT_TTSSTAT()

FT_TTSBEGIN

FT_TTSBEGIN()
 Begin explicit transaction under NetWare's TTS

 Syntax

     FT_TTSBEGIN() -> nResult

 Arguments

    None

 Returns

      0 - Success (transaction begun)
    150 - Out of dynamic workspace (not begun)
    254 - Implicit Transaction already active
             (active implicit transaction now converted to
             explicit transaction)
    255 - Explicit transaction already active
             (existing explicit transaction continues normally)

 Description

   See your NetWare documentation for further information about the
   Transaction Tracking System (TTS).

 Examples

   nResult := FT_TTSBEGIN()
   DO CASE
      CASE nResult == 0
         ? "Transaction begun"
      CASE nResult == 150
         ? "Out of dynamic workspace, transaction not begun"
      CASE nResult == 254
         ? "Implicit transaction already active"
      CASE nResult == 255
         ? "Explicit transaction already active"
      OTHERWISE
         ? "Unknown result"
   ENDCASE

 Source: NWTTS3.ASM

 Author: James R. Zack

See Also: FT_TTSABORT() FT_TTSAVAIL() FT_TTSEND() FT_TTSSTAT()

FT_TTSAVAIL

FT_TTSAVAIL()
 Check whether default Novell file server supports TTS

 Syntax

     FT_TTSAVAIL() -> nResult

 Arguments

    None

 Returns

       0 - TTS unavailable or not supported.
       1 - TTS is installed and available.
     253 - TTS is disabled.

 Description

   This routine is used to check the default NetWare file server for TTS
   availability.  You must have Novell NetWare SFT Level II or above to
   use these functions.  Using these functions on a non SFT II file server
   will return unsuccessful values.  You must have TTS installed on your
   file server.

   This routine was designed and written for Novell Advanced NetWare 2.15
   SFT Level II and Novell NetWare 386 v 3.0 and above.

   This source code was written for Microsoft Macro Assembler v5.1.

 Examples

   IF FT_TTSAVAIL() == 1   // If TTS is available
     FT_TTSBEGIN()         // Begin transaction
   ENDIF

 Source: NWTTS1.ASM

 Author: James R. Zack

See Also: FT_TTSABORT() FT_TTSBEGIN() FT_TTSEND() FT_TTSSTAT()

FT_TTSABORT

FT_TTSABORT()
 Abort explicit and implicit NetWare TTS transactions

 Syntax

     FT_TTSABORT() -> nResult

 Arguments

    None

 Returns

      0 - Abort Successful (backout completed)
    253 - Transaction Tracking disabled (no backout performed)
    254 - Transaction ended, records locked (No backout performed)
    255 - No explicit transactions active

 Description

   Consult your NetWare documentation for details on the NetWare
   Transaction Tracking System.

 Examples

   nResult := FT_TTSABORT()
   DO CASE
      CASE nResult == 0
         ? "TTS aborted"
      CASE nResult == 253
         ? "Transction tracking, no backout performed"
      CASE nResult == 254
         ? "Transaction ended, records locked, no backout performed"
      CASE nResult == 255
         ? "No transactions active"
      OTHERWISE
         ? "Unknown result"
   ENDCASE

 Source: NWTTS2.ASM

 Author: James R. Zack

See Also: FT_TTSAVAIL() FT_TTSBEGIN() FT_TTSEND() FT_TTSSTAT()