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

  1.  
  2.   1                       Version 4.0 -- 5/1/89                   errors
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  errors
  6.  
  7.   FUNCTION:
  8.        The complete collection of DB-Library errors  and  error  severi-
  9.        ties.
  10.  
  11.   SYNTAX:
  12.        #include <sybfront.h>
  13.        #include <sybdb.h>
  14.        #include <syberror.h>
  15.  
  16.   COMMENTS:
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   errors                  Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.  
  27.        o This is the complete range of possible  DB-Library  errors  and
  28.          error  severities.  The error values are listed alphabetically,
  29.          and the error severity values are listed by  increasing  sever-
  30.          ity.
  31.        o These numbers  are  passed  to  the  currently-installed  user-
  32.          supplied error handler.
  33.  
  34.        o The error values are defined in the header file  sybdb.h.   The
  35.          error   severity   values   are  defined  in  the  header  file
  36.          syberror.h.  Your program need include syberror.h  only  if  it
  37.          refers to these severities.
  38.  
  39.   ERRORS:
  40.        SYBEAAMT          User attempted a dbaltbind() with mismatched column and variable types.
  41.        SYBEABMT          User attempted a dbbind() with mismatched column and variable types.
  42.        SYBEABNC          Attempt to bind to a non-existent column.
  43.        SYBEABNP          Attempt to bind using NULL pointers.
  44.  
  45.  
  46.   3                       Version 4.0 -- 5/1/89                   errors
  47.   ______________________________________________________________________
  48.        SYBEABNV          Attempt to bind to a NULL program variable.
  49.        SYBEAPUT          Attempt to print unknown token.
  50.        SYBEASEC          Attempt to send an empty command buffer to the SQL Server.
  51.        SYBEASNL          Attempt to set fields in a null LOGINREC.
  52.        SYBEASUL          Attempt to set unknown LOGINREC field.
  53.        SYBEAUTN          Attempt to update the timestamp of a table which has no timestamp column.
  54.        SYBEBBCI          Batch successfully bulk copied to SQL Server.
  55.        SYBEBCBC          bcp_columns() must be called before bcp_colfmt().
  56.        SYBEBCFO          Bcp host files must contain at least one column.
  57.        SYBEBCIS          Attempt to bulk copy an illegally-sized column value to the SQL Server.
  58.        SYBEBCNN          Attempt to bulk copy a NULL value into a Server column which
  59.                          does not accept null values.
  60.        SYBEBCNT          Attempt to use Bulk Copy with a non-existent Server table.
  61.        SYBEBCOR          Attempt to bulk copy an oversized row to the SQL Server.
  62.        SYBEBCPB          bcp_bind() may not be used after bcp_init() has been passed a
  63.                          non-NULL input file name.
  64.  
  65.  
  66.  
  67.  
  68.   errors                  Version 4.0 -- 5/1/89                        4
  69.   ______________________________________________________________________
  70.        SYBEBCPI          bcp_init() must be called before any other bcp routines.
  71.        SYBEBCPN          bcp_bind(), bcp_collen() and bcp_colptr() may be used only after
  72.                          bcp_init() has been called with the copy direction set to DB_IN.
  73.        SYBEBCRE          I/O error while reading bcp datafile.
  74.        SYBEBCUC          Bcp: Unable to close host datafile.
  75.        SYBEBCUO          Bcp: Unable to open host datafile.
  76.        SYBEBCVH          bcp_exec() may be called only after bcp_init() has been passed a
  77.                          valid host file.
  78.        SYBEBCWE          I/O error while writing bcp datafile.
  79.        SYBEBDIO          Bad bulk copy direction.  Must be either IN or OUT.
  80.        SYBEBEOF          Unexpected EOF encountered in BCP datafile.
  81.        SYBEBIHC          Incorrect host-column number found in bcp format file.
  82.        SYBEBIVI          bcp_columns() and bcp_colfmt() may be used only after bcp_init() has
  83.                          been passed a valid input file.
  84.        SYBEBNCR          Attempt to bind user variable to a non-existent compute row.
  85.        SYBEBRFF          I/O error while reading bcp format file.
  86.        SYBEBTMT          Attempt to send too much TEXT data via the bcp_moretext() call.
  87.  
  88.  
  89.  
  90.   5                       Version 4.0 -- 5/1/89                   errors
  91.   ______________________________________________________________________
  92.        SYBEBTOK          Bad token from SQL Server: Datastream processing out of sync.
  93.        SYBEBTYP          Unknown bind type passed to DB-Library function.
  94.        SYBEBUCE          Bcp: Unable to close error file.
  95.        SYBEBUCF          Bcp: Unable to close format file.
  96.        SYBEBUDF          Bcp: Unrecognized datatype found in format file.
  97.        SYBEBUFL          DB-Library internal error - send buffer length corrupted.
  98.        SYBEBUOE          Bcp: Unable to open error file.
  99.        SYBEBUOF          Bcp: Unable to open format file.
  100.        SYBEBWEF          I/O error while writing bcp error file.
  101.        SYBEBWFF          I/O error while writing bcp format file.
  102.        SYBECDNS          Datastream indicates that a compute column is derived from a non-
  103.                          existent select-list member.
  104.        SYBECLOS          Error in closing network connection.
  105.        SYBECLPR          Data conversion resulted in loss of precision.
  106.        SYBECNOR          Column number out of range.
  107.        SYBECNOV          Attempt to set variable to NULL resulted in overflow.
  108.        SYBECOFL          Data conversion resulted in overflow.
  109.  
  110.  
  111.  
  112.   errors                  Version 4.0 -- 5/1/89                        6
  113.   ______________________________________________________________________
  114.  
  115.        SYBECONN          Unable to connect: SQL Server is unavailable or does not exist.
  116.        SYBECSYN          Attempt to convert data stopped by syntax error in source field.
  117.        SYBECUFL          Data conversion resulted in underflow.
  118.        SYBEDBPS          Maximum number of DBPROCESSes already allocated.
  119.        SYBEDDNE          DBPROCESS is dead or not enabled.
  120.        SYBEDNTI          Attempt to use dbtxtsput() to put a new text timestamp into a column
  121.                          whose datatype is neither SYBTEXT nor SYBIMAGE.
  122.        SYBEFCON          SQL Server connection failed.
  123.        SYBEICN           Invalid computeid or compute column number.
  124.        SYBEIFNB          Illegal field number passed to bcp_control().
  125.        SYBEIICL          Illegal integer column length returned by SQL Server. Legal integer
  126.                          lengths are 1, 2, and 4 bytes.
  127.        SYBEINLN          Interface file: unexpected end-of-line.
  128.        SYBEINTF          Server name not found in interface file.
  129.        SYBEITIM          Illegal timeout value specified.
  130.        SYBEKBCI          1000 rows sent to SQL Server.
  131.  
  132.  
  133.  
  134.   7                       Version 4.0 -- 5/1/89                   errors
  135.   ______________________________________________________________________
  136.        SYBEKBCO          1000 rows successfully bulk copied to host file.
  137.        SYBEMEM           Unable to allocate sufficient memory.
  138.        SYBENMOB          No such member of ORDER BY clause.
  139.        SYBENPRM          NULL parameter not allowed for this dboption.
  140.        SYBENSIP          Negative starting index passed to dbstrcpy().
  141.        SYBENTLL          Name too long for LOGINREC field.
  142.        SYBENTTN          Attempt to use dbtxtsput() to put a new text timestamp into a
  143.                          non-existent data row.
  144.        SYBENXID          The Server did not grant us a distributed-transaction ID.
  145.        SYBEOOB           Error in sending out-of-band data to SQL Server.
  146.        SYBEOPIN          Could not open interface file.
  147.        SYBEORPF          Attempt to set remote password would overflow the login-record's
  148.                          remote password field.
  149.        SYBEPWD           Login incorrect.
  150.        SYBERDCN          Requested data conversion does not exist.
  151.        SYBERDNR          Attempt to retrieve data from a non-existent row.
  152.        SYBEREAD          Read from SQL Server failed.
  153.  
  154.  
  155.  
  156.   errors                  Version 4.0 -- 5/1/89                        8
  157.   ______________________________________________________________________
  158.        SYBERPND          Attempt to initiate a new SQL Server operation with results pending.
  159.        SYBERXID          The Server did not recognize our distributed-transaction ID.
  160.        SYBESEOF          Unexpected EOF from SQL Server.
  161.        SYBESFOV          dbsafestr() overflowed its destination buffer.
  162.        SYBESMSG          General SQL Server error: Check messages from SQL Server.
  163.        SYBESOCK          Unable to open socket.
  164.        SYBESYNC          Read attempted while out of synchronization with SQL Server.
  165.        SYBETIME          SQL Server connection timed out.
  166.        SYBETMTD          Attempt to send too much TEXT data via the dbmoretext() call.
  167.        SYBETPTN          Syntax error: only two periods are permitted in table names.
  168.        SYBETSIT          Attempt to call dbtsput() with an invalid timestamp.
  169.        SYBETTS           The table which bulk copy is attempting to copy to a host file is shorter
  170.                          than the number of rows which bulk copy was instructed to skip.
  171.        SYBEUDTY          Unknown datatype encountered.
  172.        SYBEUFDT          Unknown fixed-length datatype encountered.
  173.  
  174.  
  175.  
  176.  
  177.  
  178.   9                       Version 4.0 -- 5/1/89                   errors
  179.   ______________________________________________________________________
  180.        SYBEUHST          Unknown host machine name.
  181.        SYBEUNT           Unknown network type found in interface file.
  182.        SYBEUSCT          Unable to set communications timer.
  183.        SYBEUVBF          Attempt to read an unknown version of BCP format file.
  184.        SYBEUVDT          Unknown variable-length datatype encountered.
  185.        SYBEVDPT          For bulk copy, all variable-length data must have either a
  186.                          length-prefix or a terminator specified.
  187.        SYBEWAID          DB-Library internal error: ALTFMT following ALTNAME has
  188.                          wrong id.
  189.        SYBEWRIT          Write to SQL Server failed.
  190.        UNUSED            This error number is unused.
  191.  
  192.  
  193.  
  194.  
  195.   ERROR SEVERITIES:
  196.  
  197.  
  198.  
  199.  
  200.   errors                  Version 4.0 -- 5/1/89                       10
  201.   ______________________________________________________________________
  202.        EXINFO                Informational, non-error.
  203.        EXUSER                User error.
  204.        EXNONFATAL            Non-fatal error.
  205.        EXCONVERSION          Error in DB-Library data conversion.
  206.        EXSERVER              The Server has returned an error flag.
  207.        EXTIME                We have exceeded our timeout period while waiting for a response
  208.                              from the Server - the DBPROCESS is still alive.
  209.        EXPROGRAM             Coding error in user program.
  210.        EXRESOURCE            Running out of resources - the DBPROCESS may be dead.
  211.        EXCOMM                Failure in communication with Server - the DBPROCESS is dead.
  212.        EXFATAL               Fatal error - the DBPROCESS is dead.
  213.        EXCONSISTENCY         Internal software error - notify Sybase Technical Support.
  214.  
  215.   SEE ALSO:
  216.        DBDEAD, dberrhandle
  217.  
  218.  
  219.  
  220.  
  221.