Synopsis
Purges metadata versions for all objects that do not meet the specified retention criteria.
Description
Deletes metadata versions for all objects that do not meet the specified retention criteria, which can be specified as the minimum number of versions to retain per object and/or the maximum age (in days) of versions to retain. For example, it is possible to specify that a minimum of 5 versions are retained for each object and/or that versions are retained for a maximum of 90 days.
Input

Input

Description

Common Input

Includes all 5 inputs of the Callable Routines Common Input.

Maximum Days to Retain

The maximum age (in days) of the versions to retain. If 90 days are retained, then all the versions that are older than 90 days are purged/deleted to reduce the number of versions to the specified maximum number of versions per object. If not specified, then the retention date of each version determines whether it is deleted.

Minimum Versions per Object to Retain

The minimum number of versions to retain for each object. If 5 is specified, then the last 5 versions are retained per object regardless of the specified maximum age to retain.

Options

Currently NOT used.

Output

Output

Description

Return Code

Output Return Code:

  • S Success.
  • E Error.
  • F Fatal/Unexpected Error.

Return Message

Output message indicating the action applied or the reason for no action.

Result Number  

Output Result Number:

  • 1 Success.
  • -2 Error.
  • -3 Fatal/Unexpected Error.
  • No labels