SPP9965 Fatal Error, Statement beginning at line <line>:Selection cursor stmt kind <kind> has been returned
C, COBOL, PL/I
Invalid SQL statement coded for a selection cursor.
Change the definition of the cursor. A selection cursor may only contain COMMENT, HELP, SELECT, or SHOW request.