|
Hi,
From the product family users guide:
2.3.3 Specifying the Transaction Mode
The gateway products cannot fully participate in
distributed transactions that require the coordinated
commitment of update operations to multiple databases.
Although the gateway products do not prohibit participation
in a distributed (two-phase commit) transaction, they
do not support them; they only support one-phase commit
transactions. You will get an RDB-E-1PC_UPDATE error
message when you attempt to write to a gateway database
in a distributed transaction. You can disable this error
by using the TX_MODE=NOWARN_1PC qualifier, as shown in the
following example:
SQL> ATTACH 'FILENAME/TYPE=SYBASE/USER=JIM-
cont> /TX_MODE=NOWARN_1PC';
To enable the warning message, use the following syntax:
SQL> ATTACH 'FILENAME/TYPE=SYBASE/USER=JIM/TX_MODE=WARN_1PC';
The TX_MODE qualifier is not required. The default is for
the warning message to be enabled.
Basically, the message is to let users know explicitly that there is
not a 2 pc transaction going on, and their heterogeneous/distributed
databases can end up out of sync when they update. To allow the update
to happen, add the tx_mode=nowarn_1pc.
Hope this helps,
Dan
|