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

  1. .Na "stat_xact" 
  2. .Aa
  3. .Fu
  4. Return the current status of a distributed transaction.
  5. .Sy
  6. .Sf "int stat_xact(connect, commid)
  7. .Sp "DBPROCESS" "*connect"
  8. .Sp "DBINT" "commid"
  9. .Co
  10. .Bl
  11. This routine returns the transaction status for the specified 
  12. distributed transaction.
  13. .Ih "distributed transaction, return transaction status for"
  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. If \f2commid\fP is -1, all commit service records are displayed.
  21. .in -.375i
  22. .Re
  23. .br
  24. A character code: 'a' (abort), 'b' (begin), 'c' (commit), 'u' (unknown),
  25. or -1 (request failed).
  26. .Sa
  27. abort_xact,
  28. commit_xact,
  29. remove_xact,
  30. scan_xact,
  31. start_xact
  32.