logo  
Google
 

DB2 SQL-Error: -304

SQLState: 22003

Short Description: A VALUE WITH DATA TYPE CANNOT BE ASSIGNED TO A HOST VARIABLE BECAUSE THE VALUE IS NOT WITHIN THE RANGE OF THE HOST VARIABLE IN POSITION WITH DATA TYPE S SQLCODE SQL

A CALL, FETCH, SELECT, VALUES INTO, or SET assignment statement with a host variable list or structure in position number position-number failed because the host variable with data type data-type2 was not large enough to hold the retrieved value with data type data-type1. System action: The statement cannot be executed. No data was retrieved. If the statement was a FETCH, the cursor remains open. Programmer response: Verify that table definitions are current, and that the host variable has the correct data

 <-  BACK TO INDEX