CLEANUP REPLICAT
Use CLEANUP REPLICAT to delete run history for a specified Replicat group. The cleanup keeps the last run record intact so that Replicat can resume processing from where it left off.
Before using this command, stop Replicat by issuing the STOP REPLICAT command.
Syntax
CLEANUP REPLICAT *group_name*[*threadID*] [, SAVE *count*]
group_name[threadID]
One of the following:
-
group_name: The name of a Replicat group or a wildcard (*) to specify multiple groups. For example,
T*cleans up all Replicat groups whose names begin with T. If the specified group (or groups) is a coordinated Replicat, the cleanup applies to all threads. -
group_name**threadID: A thread of a coordinated Replicat, identified by its full name (group name plus threadID), such as
finance003.
SAVE count
Excludes the specified number of the most recent records from the cleanup.
Examples
The following deletes all but the last record.
CLEANUP REPLICAT repe
The following deletes all but the most recent five records.
CLEANUP REPLICAT *, SAVE 5
The following deletes all but the most recent five records for thread three of coordinated Replicat group fin.
CLEANUP REPLICAT repe, SAVE 5