home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer) / NeXT_Developer-3.3.iso / NextLibrary / Documentation / Sybase / DBLIB / Section3 / commit_xact.nr < prev    next >
Encoding:
Text File  |  1993-04-22  |  709 b   |  31 lines

  1. .Na "commit_xact" 
  2. .Aa
  3. .Fu
  4. Mark a distributed transaction as being committed.
  5. .Ih "distributed transaction, mark as committed"
  6. .Sy
  7. .Sf "RETCODE commit_xact(connect, commid)
  8. .Sp "DBPROCESS" "*connect"
  9. .Sp "DBINT" "commid"
  10. .Co
  11. .Bl
  12. This routine informs the commit service that the status of a distributed 
  13. transaction should be changed from ``begin'' to ``commit.''
  14. .Bz
  15. .Pa
  16. .Pi connect
  17. A pointer to the DBPROCESS used to communicate with the commit service.
  18. .Pi commid
  19. The \f2commid\fP used to identify the transaction to the commit service.
  20. .in -.375i
  21. .Re
  22. .br
  23. SUCCEED or FAIL.
  24. If \f2commit_xact()\f1 fails, you \f2must\f1 roll back the transaction.
  25. .Sa
  26. abort_xact,
  27. remove_xact,
  28. scan_xact,
  29. start_xact,
  30. stat_xact
  31.