SPP3101 Error at line <line>, column <column>:The <type> statement may only be used with a cursor
Language:
C, COBOL, PL/I
Possible Cause:
A statement which requires a cursor has been requested as a stand-alone request.
Possible Solution:
Declare and use a cursor to process the request.