SPP9965 Fatal Error, Statement beginning at line <line>:Selection cursor stmt kind <kind> has been returned - Preprocessor2 for Embedded SQL

Teradata Preprocessor2 (SPP Prefix) Messages

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Preprocessor2 for Embedded SQL
Release Number
15.xx, 16.xx, 17.xx, 20.xx
Published
June 2020
Language
English (United States)
Last Update
2023-11-20
lifecycle
Latest
Product Category
Teradata Tools and Utilities

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.