home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer) / NeXT_Developer-3.3.iso / usr / sybase / doc / remove_xact.man < prev    next >
Encoding:
Text File  |  1993-04-22  |  1.6 KB  |  67 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89              remove_xact
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  remove_xact
  6.  
  7.   FUNCTION:
  8.        Decrement the count of sites  still  active  in  the  distributed
  9.        transaction.
  10.  
  11.   SYNTAX:
  12.        RETCODE remove_xact(connect, commid, n)
  13.  
  14.        DBPROCESS *connect;
  15.        DBINT     commid;
  16.        int       n;
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   remove_xact             Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.  
  27.   COMMENTS:
  28.  
  29.        o The commit service keeps a count of the number of sites  parti-
  30.          cipating  in  a  distributed transaction.  This routine informs
  31.          the commit service that one or more sites has done a local com-
  32.          mit or abort on the transaction and is hence no longer partici-
  33.          pating.  The commit service removes the sites from the transac-
  34.          tion  by  decrementing  the  count  of  sites.  The transaction
  35.          record is deleted entirely if the count drops to zero.
  36.  
  37.   PARAMETERS:
  38.        connect -  A pointer to the DBPROCESS used  to  communicate  with
  39.            the commit service.
  40.        commid -  The commid used to identify the transaction to the com-
  41.            mit service.
  42.        n -  The number of sites to remove from the transaction.
  43.  
  44.  
  45.  
  46.   3                       Version 4.0 -- 5/1/89              remove_xact
  47.   ______________________________________________________________________
  48.  
  49.   RETURNS:
  50.        SUCCEED or FAIL.
  51.  
  52.   SEE ALSO:
  53.        abort_xact, commit_xact, scan_xact, start_xact, stat_xact
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.