17.00 - SPP9965 Fatal Error, Statement beginning at line <line>:Selection cursor stmt kind <kind> has been returned - Teradata Tools and Utilities

Teradata Preprocessor2 (SPP Prefix) Messages

prodname
Preprocessor2 for Embedded SQL
Teradata Tools and Utilities
vrm_release
17.00
created_date
June 2020
category
Programming Reference
featnum
B035-1096-PP2

SPP9965 Fatal Error, Statement beginning at line <line>:Selection cursor stmt kind <kind> has been returned

Language:

C, COBOL, PL/I

Possible Cause:

Invalid SQL statement coded for a selection cursor.

Possible Solution:

Change the definition of the cursor. A selection cursor may only contain COMMENT, HELP, SELECT, or SHOW request.