About 1,750,000 results
Open links in new tab
  1. Db2 12 - Codes - Error (−) SQL codes - IBM

    SQLCODE values The SQLCODE value is set by Db2 after each statement is executed, as shown in the following table. ... For PDF format descriptions of the SQL codes that Db2 12 might issue, see Codes.

  2. Why is the Capture program receiving SQLCODE -311 from DB2? - IBM

    The "variable number" and SQLERRMC might be different for your specific situation. When trying to resolve the SQLCODE -311, first verify your CD table attributes. If any are incorrect, change them …

  3. Db2 12 - Codes - SQL codes - IBM

    When Db2 executes an SQL statement, it returns information about the statement execution. This information includes the SQL return code (SQLCODE) and the SQLSTATE, which indicate whether …

  4. Db2 for z/OS - IBM Documentation

    Db2 for z/OS Community Blog Read about the latest and greatest, how-tos, best practices, and use cases from our experts and expe

  5. PM27173: SQLCODE -311 IN DSNXRIHB SQLERRD1 = -186 WHEN

    Error description DB2 issued SQLCODE311 when referencing VARBINARY host variable because the length of the VARBINARY host variable was wrongly declared by COBOL compiler to be 2 bytes …

  6. Db2 12 - Db2 SQL - SQLCODE - IBM

    For PDF format descriptions of the SQL codes that Db2 12 might issue, see Codes. In the case of a LOOP statement, the SQLSTATE is set after the END LOOP portion of the LOOP statement …

  7. Listing of SQLSTATE values - IBM

    The tables in this topic provide descriptions of SQLSTATE codes that can be returned to applications by Db2 for i. The tables include SQLSTATE values, their meanings, and their corresponding SQLCODE …

  8. SQL messages and codes - IBM

    Use this topic collection to find descriptions of codes and messages returned when using SQL with Db2 for i. This topic contains listings of SQLCODEs, SQLSTATEs, class codes, and SQL messages.

  9. Runtime errors in SQLCODE - IBM

    If the server is the IBM DB2® database server this field is set to the complete error message. sqlca.sqlerrd [4] after a PREPARE, EXECUTE IMMEDIATE, or DECLARE statement that …

  10. Db2 12 - Application programming and SQL - IBM

    * * THIS SIZE ALLOWS FOR THE DB2 MAXIMUM * * OF 750 COLUMNS. * * * * DATA RECORDS ARE LIMITED TO 32700 BYTES, * * INCLUDING DATA, LENGTHS FOR VARCHAR DATA, * * AND …