Host variable <str> is of type void, which is illegal in SQL statements Explanation: The named variable is defined as a C variable of datatype 'void'. These variables are currently not supported by the C precompiler. User Action: Use a different variable or specify a supported datatype.