Viva Clipper !

FT_TTSBEGIN

Advertisements
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()

Advertisements

Advertisements