Host variable <str> is defined with an implicit dimension. Explanation: The named variable is defined using the C feature of determining the dimension of an array from its initialization. Such variables are not legal in SQL statements. User Action: Define the array variable using an explicitly-sized array.