Data Purge

When data is purged, specify a specific enterprise to limit the purge scope. The command line tool accepts the -a option with an enterprise ID as input.

The enterprise ID is used for following execution modes:

  • History
  • HistoryForce
  • Repository
  • Metadata
  • Recordversions
  • Metadataversions
  • recordversionsGoldenCopy
  • deletedRecord

Alternatively, an enterprise name can also be specified using the -an option. The command line tool accepts the option -an ALL to include all enterprises.

When specified, it takes precedence over option -r and implies all repositories for the specified enterprise. For more information on command line purge, refer to Command Line Purge Examples.

Data Source purge is supported from command line. Data source purge is only supported with Metadata execution mode. The data source and all its versions and associated tables are dropped. No check is performed to ascertain whether the data source is in use by other objects (input map or subset).

The Data Source purge is executed by specifying the Data Source ID using -ds option. The Data Source name can also be specified using -dsn option but when this option is specified, enterprise must be specified as well. If -dsn ALL is specified, all data sources are deleted.

The purge scope is controlled by specifying an enterprise ID or name, or specifying -an ALL to delete data sources for all enterprises.

Note: If an ID is specified for any of the command line parameters, it is better to specify IDs for all of the other parameters. Similarly, when names are specified, it is better to specify names for all parameters.