Universal Cache User Guide : IBM InfoSphere CDC for solidDB® reference : Monitoring replication commands : dmclearevents: Clear events
  
dmclearevents: Clear events
Use this command to delete events from the Event Log view in Management Console.
Syntax
dmclearevents -I <instance_name> [-S|-T-|-B] <-A|-s <subscription_names> ...> [-L <locale>]
Parameters
-I <instance_name>
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.
dmclearevents -I myinstance -T -s Finance Marketing
IBM InfoSphere CDC clears events from both the source and target for the Finance and Marketing subscriptions for the specified instance.
See also
Monitoring replication commands