You can use the following statement in a HotStandBy (HSB) configuration to change the workload connection server from the secondary server to the primary server for one transaction:
Note To detect conflicts between transactions, use the SET TRANSACTION ISOLATION LEVEL statement to define the transaction with a REPEATABLE READ or SERIALIZABLE isolation level. For details, see Controlling transaction isolation levels.
Transactions must be ended with the COMMIT WORK or ROLLBACK WORK statements unless autocommit is used.