start_cleanup

Definition

To trigger the cleanup process of all the provider contracts or subscriptions which are involved in session-based charging operations or in prerating operations (deprecated)

Command Usage

Syntax

start_cleanup <REF_DATE> <MAX_THROUGHPUT>

Command Arguments
Name Description
<REF_DATE> The reference date for processing the cleanup. The date format is ISO 8601 ('yyyy-MM-ddTHH:mm:ss').
<MAX_THROUGHPUT> The maximum throughput (subscriptions per second); Format: 0 or a number between 1 and 1000.

Detailed Information

The start_cleanup command triggers the cleanup process of all the provider contracts and subscriptions in the connected SAP CC system.

Note

The console program will freeze until the end of the processing by the connected SAP CC system. You must launch another user interface and log on to use the stop_cleanup command.

Use the ISO 8601 format (yyyy-MM-ddTHH:mm:ss) to enter a date. The maximum throughput must be greater than or equal to 0. The value 0 means that the throughput is not limited.

Authorization

You must have a specific role in your SAP CC user profile. Refer to the SAP CC Security Guide for more information about the necessary authorizations.

See Also

stop_cleanup - To stop the running cleanup processed by the connected SAP CC system

Messages

Code Message Action
invalidToDate Error: The date must be in the ISO 8601 (yyyy-MM-ddTHH:mm:ss) date format and the argument "{date}" does not  
invalidMaxThroughput Error: The maximum throughput must be a positive integer: ''{argument}''.  
cleanupStarted The cleanup process is started at ''{date}''  
cleanupStopped The cleanup process is stopped at ''{date}''  
server.unavailable Comm. error: The instance of the SAP CC system is unavailable: {exception}.  
cleanup_subscriptions OK: {number} subscription(s) cleaned up.  
cleanupAll.stopped OK: The cleanup process has been stopped by the SAP CC user.  
cleanupAll.incomplete Error: The cleanup operation did not complete. Check the log files.