purge_file_metadata

Definition

To purge the file metadata from the database

Command Usage

Syntax

purge_file_metadata <REFERENCE_DATE>

Command Arguments
Name Description
<REFERENCE_DATE> The reference date (ISO 8601 date format: yyyy-MM-ddTHH:mm:ss) used to determine the list of file metadata to purge. This list contains file metadata whose purge reference date is older than this date.

Detailed Information

The purge_file_metadata command is executed by the updater instance and consists in deleting sets of file metadata linked to a root data file whose purge reference date is lower than the specified reference date.

Use

You use this command when you need to manually purge the metadata related to data files generated by SAP CC Core Server system during the execution of the different processes, that are stored within the Core database.

Authorization

To work with this command in the user interface, you must have a specific role in your SAP CC user profile.

Refer to the SAP CC 5.0 Security Guide for more user assistance and information about the necessary authorizations.

Messages

Code Message Action
err.invalidReferenceDate Error: The reference date must be set and must be lower than the current date. Verify the reference date set in your command and consult the command information (usage, details).  
purgeFileMetadata.starting Starting the purge of file metadata with the reference date {referenceDate}.  
purgeFileMetadata.ended Purge of file metadata ended. {purgedCount} file metadata purged.