15.00 - -840 More data returned than expected - Teradata Tools and Utilities

Teradata Preprocessor2 (SPP Prefix) Messages

prodname
Teradata Tools and Utilities
vrm_release
15.00
category
Programming Reference
featnum
B035-1096-015K

-840 More data returned than expected

Possible Cause

Data has been returned for a request but no output host variables are provided to receive the values, or data has been returned for an EXECUTE or EXECUTE IMMEDIATE request.

Possible Solution

Data may not be returned for an EXECUTE or EXECUTE IMMEDIATE request. If the dynamic statement is expected to return data, use a dynamic cursor. For all other requests, define host variables to receive the data.