-398 A LOCATOR WAS REQUESTED FOR HOST VARIABLE NUMBER position-number BUT THE VARIABLE IS NOT A LOB
Explanation
The application requested that a locator be returned from host variable number position-number. A locator can only be used with LOB data, and the requested data is not a LOB.
System action
The statement cannot be processed.
Programmer response
Change the statement to either return LOB data, or change the target host variable to not be a locator.
SQLSTATE
428D2