Explanation
SQL variables defined as pointers are not allowed in LONG columns because the maximum length of these variables is not known.
User Response
Specify the SQL variable as a CHARACTER ARRAY.