-948   DISTRIBUTED OPERATION IS INVALID

Explanation

The unit of work was initiated before DDF was started, and the application attempted to perform a distributed operation. The unit of work must be terminated by a rollback operation.

System action

In the IMS™ and CICS® environments, all SQL statements are rejected until a rollback occurs. In the other environments, all SQL statements other than a static ROLLBACK are rejected until a static ROLLBACK is executed.

Programmer response

An application that performs local database updates before DDF is started cannot perform distributed operations within the same unit of work. The current unit of work must be terminated by a rollback operation and a new unit of work must be initiated before any SQL operations can be performed.

Restart the current unit of work.

SQLSTATE

56062