| |
- Causa
- THE SQL STATEMENT CANNOT BE EXECUTED BECAUSE THE STATEMENT WILL RESULT IN A PROHIBITED DATA CHANGE OPERATION.
The application attempted to execute an SQL statement that would result in updates to user data or to the subsystem catalog.
This is prohibited for one of the following reasons:
- The application is running as an IMS inquiry-only transaction.
- The application is an IMS, CICS®, or RRSAF application that is attempting to update data at a remote DBMS that does not support two-phase commit.
- The application is attempting to update data at multiple locations and one of the locations does not support two-phase commit.
- A trigger defined with activation time BEFORE was activated and its triggered action caused updates to the database.
- The application is executing with a package that was bound with bind option DBPROTOCOL(DRDACBF), which enables package-based continuous block fetch.
When package-based continuous block fetch is in effect, updates at a remote server are not allowed.
- A CREATE TABLE statement for an accelerator-only table was followed by a data change operation for an accelerator-only table.
These SQL statements include INSERT, UPDATE, MERGE, DELETE, CREATE, ALTER, DROP, GRANT, and REVOKE.
- Ação do sistema
- The statement cannot be processed.
- Resposta ao Desenvolvedor
- If the application is running as an IMS inquiry-only transaction, see your IMS system programmer about changing the inquiry-only status of the
transaction under which your application is running.
If the IMS, CICS, or RRSAF application is attempting a remote update, either the application must be changed to run as a local application on the
server DBMS, or the server DBMS must be upgraded to support two-phase commit.
If the application is attempting to update data at multiple locations, either the application must be changed, or all DBMSs involved must be
upgraded to support two-phase commit.
If the connection to the remote system is through VTAM®, ensure that the VTAM APPL statement specifies SYNCLVL=SYNCPT.
If the error is due to an invalid statement during a trigger activation, contact your system administrator to correct the trigger definition.
If the application package is bound with DBPROTOCOL(DRDACBF), take one of the following actions:
- Rebind the package without the DBPROTOCOL(DRDACBF) option to disable package-based continuous block fetch.
- Remove any SQL statements from the application that cause updates on the remote site, and prepare the application again.
SQLSTATE: 25000
© Copyright IBM Corp.
|
| |