Enabling Access to Log Records
Activate DB2 Monitor Trace Class 1 ("TRACE(MONITOR) CLASS(1) ") so that DB2 allows Extract to read the active log. The default destination of OPX is sufficient, because Oracle GoldenGate does not use a destination.
To Start the Trace Manually
-
Log on to DB2 as a DB2 user who has the
TRACEprivilege or at leastSYSOPRauthority. -
Issue the following command:
start trace(monitor) class(1) scope(group)
To Start the Trace Automatically When DB2 is Started
Do either of the following:
-
Set
MONITOR TRACEto "YES" on theDSNTIPNinstallation tracing panel. -
Set '
DSN6SYSP MON=YES' in theDSNTIJUZinstallation job, as described in the DB2 UDB Installation Guide.
Note:
The primary authorization ID, or one of the secondary authorization IDs, of the ODBC plan executor also must have the MONITOR2 privilege.