OBEY to process a file that contains a list of
Oracle GoldenGate commands.
OBEY is useful for executing commands
that are frequently used in sequence.
You can call one
OBEY file from another one. This is
called a nested
OBEY file. You can nest up to 16
OBEY files. To use nested
OBEY files, you must
enable the functionality by first issuing the
add extract fin, tranlog, begin now add exttrail ggs/var/lib/data/aa, extract fin add extract hr, tranlog, begin now add exttrail ggs/var/lib/data/bb, extract hr add replicat fin2, exttrail ggs/var/lib/data/aa, begin now add replicat hr2, exttrail ggs/var/lib/data/bb, begin now
The preceding command executes the
mycommands.txtfile and dispalys its content with the
ADDcommands.The following example displays the content of the
add extract fin, tranlog, begin now add exttrail dirdat/aa, extract fin add extract hr, tranlog, begin now add exttrail dirdat/bb, extract hr start extract * info extract *, detail