home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 for Intel / NeXTSTEP 3.2 for Intel.iso / NextLibrary / Documentation / Sybase / DBLIB / Section2 / errors.nr < prev    next >
Encoding:
Text File  |  1993-04-22  |  8.5 KB  |  317 lines

  1. .Na "errors" 
  2. .Aa
  3. .Fu
  4. The complete collection of \*L errors and error severities.
  5. .Ih "errors, \*L, list of"
  6. .Ih "\*L errors, list of"
  7. .Ih "error severities, \*L, list of"
  8. .Ih "\*L error severities, list of"
  9. .Sy
  10. .Si "<sybfront.h>"
  11. .Si "<sybdb.h>"
  12. .Si "<syberror.h>"
  13. .Co
  14. .Bl
  15. This is the complete range of possible \*L
  16. errors and error severities.
  17. The error values are listed alphabetically, and the error severity values
  18. are listed by increasing severity.
  19. .Bl
  20. These numbers are passed to the currently-installed user-supplied
  21. error handler.
  22. .Bl
  23. The error values are defined in the header file \f2sybdb.h\f1.
  24. .Ih "sybdb.h"
  25. .Ih "syberror.h"
  26. The error severity values are defined in the header file \f2syberror.h\f1.
  27. Your program need include
  28. \f2syberror.h\f1 only if it refers to these severities.
  29. .Bz
  30. .Er
  31. .Ei
  32. .ta +18n
  33. .mc |
  34. .nf
  35. SYBEAAMT    User attempted a \f2dbaltbind()\f1 with mismatched column and variable types.
  36. .Ei
  37. SYBEABMT    User attempted a \f2dbbind()\f1 with mismatched column and variable types.
  38. .Ei
  39. SYBEABNC    Attempt to bind to a non-existent column.
  40. .Ei
  41. SYBEABNP    Attempt to bind using NULL pointers.
  42. .Ei
  43. SYBEABNV    Attempt to bind to a NULL program variable.
  44. .Ei
  45. SYBEAPUT    Attempt to print unknown token.
  46. .Ei
  47. SYBEASEC    Attempt to send an empty command buffer to the \*S.
  48. .Ei
  49. SYBEASNL    Attempt to set fields in a null LOGINREC.
  50. .Ei
  51. SYBEASTF    VMS: Unable to setmode for control_c ast.
  52. .Ei
  53. SYBEASUL    Attempt to set unknown LOGINREC field.
  54. .Ei
  55. SYBEAUTN    Attempt to update the timestamp of a table which has no timestamp column.
  56. .Ei
  57. SYBEBBCI    Batch successfully bulk copied to \*S.
  58. .Ei
  59. SYBEBCBC    \f2bcp_columns()\f1 must be called before \f2bcp_colfmt().\f1
  60. .Ei
  61. SYBEBCFO    Bcp host files must contain at least one column.
  62. .Ei
  63. SYBEBCIS    Attempt to bulk copy an illegally-sized column value to the \*S.
  64. .Ei
  65. SYBEBCNN    Attempt to bulk copy a NULL value into a Server column which 
  66. .ti -.375i
  67.     does not accept null values.
  68. .Ei
  69. SYBEBCNT    Attempt to use Bulk Copy with a non-existent Server table.
  70. .Ei
  71. SYBEBCOR    Attempt to bulk copy an oversized row to the \*S.
  72. .Ei
  73. SYBEBCPB    \f2bcp_bind()\f1 may \f2not\f1 be used after \f2bcp_init()\f1 has been passed a 
  74. .ti -.375i
  75.     non-NULL input file name.
  76. .Ei
  77. SYBEBCPI    \f2bcp_init()\f1 must be called before any other bcp routines.
  78. .Ei
  79. SYBEBCPN    \f2bcp_bind(),\f1 \f2bcp_collen()\f1 and \f2bcp_colptr()\f1 may be used only after 
  80. .ti -.375i
  81.     \f2bcp_init()\f1 has been called with the copy direction set to DB_IN.
  82. .Ei
  83. SYBEBCRE    I/O error while reading bcp datafile.
  84. .Ei
  85. SYBEBCUC    Bcp: Unable to close host datafile.
  86. .Ei
  87. SYBEBCUO    Bcp: Unable to open host datafile.
  88. .Ei
  89. SYBEBCVH    \f2bcp_exec()\f1 may be called only after \f2bcp_init()\f1 has been passed a 
  90. .ti -.375i
  91.     valid host file.
  92. .Ei
  93. SYBEBCWE    I/O error while writing bcp datafile.
  94. .Ei
  95. SYBEBDIO    Bad bulk copy direction.  Must be either IN or OUT.
  96. .Ei
  97. SYBEBEOF    Unexpected EOF encountered in BCP datafile.
  98. .Ei
  99. SYBEBIHC    Incorrect host-column number found in bcp format file.
  100. .Ei
  101. SYBEBIVI    \f2bcp_columns()\f1 and \f2bcp_colfmt()\f1 may be used only after \f2bcp_init()\f1 has 
  102. .ti -.375i
  103.     been passed a valid input file.
  104. .Ei
  105. SYBEBNCR    Attempt to bind user variable to a non-existent compute row.
  106. .Ei
  107. SYBEBRFF    I/O error while reading bcp format file.
  108. .Ei
  109. SYBEBTMT    Attempt to send too much TEXT data via the \f2bcp_moretext()\f1 call.
  110. .Ei
  111. SYBEBTOK    Bad token from \*S: Datastream processing out of sync.
  112. .Ei
  113. SYBEBTYP    Unknown bind type passed to \*L function.
  114. .Ei
  115. SYBEBUCE    Bcp: Unable to close error file.
  116. .Ei
  117. SYBEBUCF    Bcp: Unable to close format file.
  118. .Ei
  119. SYBEBUDF    Bcp: Unrecognized datatype found in format file.
  120. .Ei
  121. SYBEBUFL    \*L internal error - send buffer length corrupted.
  122. .Ei
  123. SYBEBUOE    Bcp: Unable to open error file.
  124. .Ei
  125. SYBEBUOF    Bcp: Unable to open format file.
  126. .Ei
  127. SYBEBWEF    I/O error while writing bcp error file.
  128. .Ei
  129. SYBEBWFF    I/O error while writing bcp format file.
  130. .Ei
  131. SYBECDNS    Datastream indicates that a compute column is derived from a non-
  132. .ti -.375i
  133.     existent select-list member.
  134. .Ei
  135. SYBECLOS    Error in closing network connection.
  136. .Ei
  137. SYBECLPR    Data conversion resulted in loss of precision.
  138. .Ei
  139. SYBECNOR    Column number out of range.
  140. .Ei
  141. SYBECNOV    Attempt to set variable to NULL resulted in overflow.
  142. .Ei
  143. SYBECOFL    Data conversion resulted in overflow.
  144. .Ei
  145. SYBECONN    Unable to connect: \*S is unavailable or does not exist.
  146. .Ei
  147. SYBECSYN    Attempt to convert data stopped by syntax error in source field.
  148. .Ei
  149. SYBECUFL    Data conversion resulted in underflow.
  150. .Ei
  151. SYBEDBPS    Maximum number of DBPROCESSes already allocated.
  152. .Ei
  153. SYBEDDNE    DBPROCESS is dead or not enabled.
  154. .Ei
  155. SYBEDNTI    Attempt to use \f2dbtxtsput()\f1 to put a new text timestamp into a column 
  156. .ti -.375i
  157.     whose datatype is neither SYBTEXT nor SYBIMAGE.
  158. .Ei
  159. SYBEEQVA    Error in queuing VMS AST routine.
  160. .Ei
  161. SYBEFCON    \*S connection failed.
  162. .Ei
  163. SYBEICN    Invalid computeid or compute column number.
  164. .Ei
  165. SYBEIFNB    Illegal field number passed to \f2bcp_control()\f1.
  166. .Ei
  167. SYBEIICL    Illegal integer column length returned by \*S. Legal integer 
  168. .ti -.375i
  169.     lengths are 1, 2, and 4 bytes.
  170. .Ei
  171. SYBEINLN    Interface file: unexpected end-of-line.
  172. .Ei
  173. SYBEINTF    Server name not found in interface file.
  174. .Ei
  175. SYBEITIM    Illegal timeout value specified.
  176. .Ei
  177. SYBEKBCI    1000 rows sent to \*S.
  178. .Ei
  179. SYBEKBCO    1000 rows successfully bulk copied to host file.
  180. .Ei
  181. SYBEMEM    Unable to allocate sufficient memory.
  182. .Ei
  183. SYBENMOB    No such member of ORDER BY clause.
  184. .Ei
  185. SYBENPRM    NULL parameter not allowed for this dboption.
  186. .Ei
  187. SYBENSIP    Negative starting index passed to \f2dbstrcpy()\f1.
  188. .Ei
  189. SYBENTLL    Name too long for LOGINREC field.
  190. .Ei
  191. SYBENTTN    Attempt to use \f2dbtxtsput()\f1 to put a new text timestamp into a 
  192. .ti -.375i
  193.     non-existent data row.
  194. .Ei
  195. SYBENXID    The Server did not grant us a distributed-transaction ID.
  196. .Ei
  197. SYBEOOB    Error in sending out-of-band data to \*S.
  198. .Ei
  199. SYBEOPIN    Could not open interface file.
  200. .Ei
  201. SYBEOPNA    Option is not available with current server.
  202. .Ei
  203. SYBEORPF    Attempt to set remote password would overflow the login-record's 
  204. .ti -.375i
  205.     remote password field.
  206. .Ei
  207. SYBEPWD    Login incorrect.
  208. .Ei
  209. SYBERDCN    Requested data conversion does not exist.
  210. .Ei
  211. SYBERDNR    Attempt to retrieve data from a non-existent row.
  212. .Ei
  213. SYBEREAD    Read from \*S failed.
  214. .Ei
  215. SYBERPNA    The RPC facility is available only when using a \*S whose
  216. .ti -.375i
  217.     version number is 4.0 or greater.
  218. .Ei
  219. SYBERPND    Attempt to initiate a new \*S operation with results pending.
  220. .Ei
  221. SYBERXID    The Server did not recognize our distributed-transaction ID.
  222. .Ei
  223. SYBESEOF    Unexpected EOF from \*S.
  224. .Ei
  225. SYBESFOV    \f2dbsafestr()\f1 overflowed its destination buffer.
  226. .Ei
  227. SYBESMSG    General \*S error: Check messages from \*S.
  228. .Ei
  229. SYBESOCK    Unable to open socket.
  230. .Ei
  231. SYBESYNC    Read attempted while out of synchronization with \*S.
  232. .Ei
  233. SYBETIME    \*S connection timed out.
  234. .Ei
  235. SYBETMTD    Attempt to send too much TEXT data via the \f2dbmoretext()\f1 call.
  236. .Ei
  237. SYBETPTN    Syntax error: only two periods are permitted in table names.
  238. .Ei
  239. SYBETSIT    Attempt to call \f2dbtsput()\f1 with an invalid timestamp.
  240. .Ei
  241. SYBETTS    The table which bulk copy is attempting to copy to a host file is shorter 
  242. .ti -.375i
  243.     than the number of rows which bulk copy was instructed to skip.
  244. .Ei
  245. SYBEUACS    VMS: Unable to assign channel to sys$command.
  246. .Ei
  247. SYBEUAVE    Unable to allocate VMS event flag.
  248. .Ei
  249. SYBEUDTY    Unknown datatype encountered.
  250. .Ei
  251. SYBEUFDT    Unknown fixed-length datatype encountered.
  252. .Ei
  253. SYBEUHST    Unknown host machine name.
  254. .Ei
  255. SYBEUNT    Unknown network type found in interface file.
  256. .Ei
  257. SYBEUSCT    Unable to set communications timer.
  258. .Ei
  259. SYBEUVBF    Attempt to read an unknown version of BCP format file.
  260. .Ei
  261. SYBEUVDT    Unknown variable-length datatype encountered.
  262. .Ei
  263. SYBEVDPT    For bulk copy, all variable-length data must have either a 
  264. .ti -.375i
  265.     length-prefix or a terminator specified.
  266. .Ei
  267. SYBEVMS    Sendflush: VMS I/O error.
  268. .Ei
  269. SYBEWAID    \*L internal error: ALTFMT following ALTNAME has 
  270. .ti -.375i
  271.     wrong id.
  272. .Ei
  273. SYBEWRIT    Write to \*S failed.
  274. .Ei
  275. UNUSED    This error number is unused.
  276. .in -.375i
  277. .fi
  278. .sp 2
  279. .bp
  280. .mc
  281. .IP "ERROR SEVERITIES:"
  282. .in +.375i
  283. .sp
  284. .ne 5
  285. .ta +22n
  286. .nf
  287. .Ei
  288. EXINFO    Informational, non-error.
  289. .Ei
  290. EXUSER    User error.
  291. .Ei
  292. EXNONFATAL    Non-fatal error.
  293. .Ei
  294. EXCONVERSION    Error in \*L data conversion. 
  295. .Ei
  296. EXSERVER    The Server has returned an error flag. 
  297. .Ei
  298. EXTIME    We have exceeded our timeout period while waiting for a response 
  299. .ti -.375i
  300.     from the Server - the DBPROCESS is still alive.
  301. .Ei
  302. EXPROGRAM    Coding error in user program.
  303. .Ei
  304. EXRESOURCE    Running out of resources - the DBPROCESS may be dead.
  305. .Ei
  306. EXCOMM    Failure in communication with Server - the DBPROCESS is dead.
  307. .Ei
  308. EXFATAL    Fatal error - the DBPROCESS is dead. 
  309. .Ei
  310. EXCONSISTENCY    Internal software error - notify Sybase Technical Support.
  311. .Ei
  312. .in -.375i
  313. .fi
  314. .Sa
  315. DBDEAD,
  316. dberrhandle
  317.