Previous Topic: -129 - RRS COMMIT ROLLBACKNext Topic: -131 - RESULT TABLE LENGTH TOO LONG


-130 - CURSOR NOT UPDATEABLE

Reason:

The FOR UPDATE OF clause was specified in the SQL select-statement, which can be used in the DECLARE CURSOR statement.

A cursor is not updateable, that is, it is read-only, if there are any of the following:

See the Declare Cursor section and the select-statement in the CA Datacom/DB SQL User Guide for more information.

The SQLSTATE that equates to this SQL return code is 24S05.

Action:

Either make the cursor updatable or remove the FOR UPDATE OF clause from the select-statement.