About 532,000 results
Open links in new tab
  1. Db2 12 - Codes - SQLCODE -305 - IBM

    Examine the definition of the table that is the object of the statement and correct the application program to provide indicator variables for all host variables into which null values can be …

  2. Return SQL code 305 -IBM Mainframes

    Apr 26, 2007 · -305: THE NULL VALUE CANNOT BE ASSIGNED TO OUTPUT HOST VARIABLE NUMBER BECAUSE NO INDICATOR VARIABLE IS SPECIFIED. and search for …

  3. How to resolve the -305 error code in DB2? And also

    use the null indicator to avoid a -305 SQLCODE. For eg, if. ccoded on the SQL statement to avoid -305. If SNAME has a value, SNAME-INDNULL contains 0. If SNAME is NULL, SNAME …

  4. DB2 Error Code -305 the null value cannot be assigned to output …

    Nov 9, 2024 · In this post, you’ll learn about the error message -305 the null value cannot be assigned to output host variable number position-number because no indicator variable is …

  5. How to solve null indicator sqlcode - 305? - Mainframe, MVS and …

    Feb 6, 2024 · Upon execution, you will either get back the value of the column and the null indicator, or just the value of the null indicator. If the null indicator is negative, then the column …

  6. DB2 Error Codes - www.www.mainframestechhelp.com

    If the SQLCODE is positive, Then the Query executed with Warning. If the SQLCODE is negative, then the Query returns errors. ... Note! + SQLCODE will return the SQL return code for the …

  7. Db2 12 - Codes - Error (−) SQL codes - IBM

    SQL return codes that are preceded by a minus sign (−) indicate that the SQL statement execution was unsuccessful.

  8. How to solve -305 in DB2 ? -IBM Mainframes

    May 18, 2011 · Examine the definition of the table that is the object of the statement and correct the application program to provide indicator variables for all host variables into which null …

  9. 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 …

  10. DB2 - SQL Error Codes - IBM Mainframe Community

    Correct the syntax and resubmit the statement. The statement contains a string constant, beginning with 'string', that is not terminated properly. The statement cannot be executed. …