DB2 SQL-Error: -311
SQLState: 22501
Short Description: THE LENGTH OF INPUT HOST VARIABLE NUMBER IS NEGATIVE OR GREATER THAN THE MAXIMUM
When evaluated, the length specification for input host string variable, whose entry in the SQLDA is indicated by position-number, was negative or greater than the maximum. System action: The statement cannot be executed. Programmer response: Correct the program to ensure that the lengths of all host string variables are not negative or that they are not greater than the maximum allowed length.