Specifies the name of the IBM InfoSphere CDC instance. Alternatively, you can specify the TSINSTANCE environment variable in place of this value.
-S
Specifies that IBM InfoSphere CDC clears events from the source.
-T
Specifies that IBM InfoSphere CDC clears events from both the source and target. If none of the S, T, and B options are specified, IBM InfoSphere CDC assumes B by default.
-B
Specifies the name of a source table in the subscription on which IBM InfoSphere CDC sets a log position. You must specify the table name in the format schema.table. List the tables if you specify more than one.
-A
Specifies that IBM InfoSphere CDC clears events for all subscriptions.
-s <subscription_names>
Specifies that IBM InfoSphere CDC clears events for the indicated subscription. List the subscriptions if you specify more than one.
-L <locale>
The name of the locale used for the IBM InfoSphere CDC instance. The default is your machine’s locale.
Result
This command returns a value of 0 if the command was successful and a non-zero value if the command fails.
Examples
dmclearevents -I myinstance -S -A
IBM InfoSphere CDC clears events from the source for all subscriptions for the specified instance.