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

  1. .Na "bcp_done"
  2. .mc |
  3. .Aa
  4. .Fu
  5. End a bulk copy from program variables into \*S.
  6. .Ih "bcp, end a bulk copy from program variables"
  7. .Sy
  8. .Sf "DBINT bcp_done(dbproc)"
  9. .Sp "DBPROCESS" "*dbproc"
  10. .Co
  11. .Bl
  12. \f2bcp_done()\f1 ends a bulk copy performed with
  13. \f2bcp_bind()\f1 and \f2bcp_sendrow()\f1.
  14. It should be called after the last call to \f2bcp_sendrow()\f1 or \f2bcp_moretext()\f1.
  15. Failure to call \f2bcp_done()\f1 after you have completed copying in all
  16. your data will result in unpredictable errors.
  17. .Bl
  18. For information on the \f2bcp\f1 utility program, see its manual page
  19. in the \f2Commands Reference\f1.
  20. .Bz
  21. .Pa
  22. .Pi dbproc
  23. A pointer to the DBPROCESS structure that provides the connection
  24. for a particular front-end/\*S process.  It contains all the
  25. information that \*L uses to manage communications and data between the
  26. front end and \*S.
  27. .in -.375i
  28. .Re
  29. .br
  30. The number of rows permanently saved since the last call
  31. to \f2bcp_batch()\f1, or -1 in case of error.
  32. .Sa
  33. bcp_batch, 
  34. bcp_bind, 
  35. bcp_moretext,
  36. bcp_sendrow
  37. .mc
  38.