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