Name
DBMS_DEFER_SYS.SET_DISABLED
Synopsis
The SET_DISABLED procedure disables or enables propagation to the specified destination. If you are managing a replicated environment, you might want to disable propagation to a given site while you perform maintenance. If you disable propagation while RPCs are being delivered to the destination database, the delivery will be allowed to complete.
PROCEDURE DBMS_DEFER_SYS.SET_DISABLED
(destination IN VARCHAR2,
disabled IN BOOLEAN := TRUE);Parameters
Parameter Name | Description |
|---|---|
destination | Global name of the destination database |
disabled | Flag indicating whether calls are to be disabled (TRUE) or enabled (FALSE) |
If disabled is set to TRUE, propagation to the destination is disabled, although any transactions in progress are allowed to complete. If disabled is set to FALSE, propagation to the destination is enabled, although this does not call EXECUTE.
Exceptions
Exception Name | Number | Description |
|---|---|---|
NO_DATA_FOUND | –01403 | Specified destination is not in the DEFSCHEDULE data dictionary view. |
Restrictions
You must execute a COMMIT after a call to the SET_DISABLED procedure for the changes to take effect.