Previous Topic: -134 - UNKNOWN DYNAMIC/CURSOR STATEMENT-ID (aaaa)Next Topic: -136 - SQLDA TRUNCATED - NEEDED aaaa ENTRIES


-135 - INVALID CURSOR STATE (STMT-ID=aaaa)

Reason:

One of the following has occurred:

A cursor is in the open state following the successful execution of an OPEN statement and until the execution of a CLOSE, COMMIT WORK, or ROLLBACK WORK statement. Otherwise, a cursor is in the closed state.

Note: In CICS, an implied COMMIT WORK is issued at the end of the CICS transaction when you have specified the plan option ISOLEVEL=C.

The SQLSTATE that equates to this SQL return code is 24501.

Action:

Ensure the following: