logo  
Google
 

DB2 SQL-Error: -300

SQLState: 22024

Short Description: THE STRING CONTAINED IN HOST VARIABLE OR PARAMETER IS NOT NULTERMINATED

A host variable or parameter is invalid. Its entry in the SQLDA is indicated by position-number. The host variable or parameter is a C string variable that is one of the following: v Used as an input parameter to a stored procedure or function. v Returned as an output parameter from a stored procedure or function. v Referenced as an input variable in an embedded SQL statement. v Used to provide a value for a parameter marker of a dynamic SQL statement. If the data type of the variable is character string, it is invalid because it does not include XÂ’00Â’. If the data type of the variable is graphic string, it is invalid because it does not include XÂ’0000Â’. System action: The statement cannot be executed. Programmer response: Append a NUL-terminator to the end of the string.

 <-  BACK TO INDEX