Expiration/deletion hold and release
You can hold deletion and expiration of specific archive objects in response to a pending or ongoing action that requires that particular data be held. In the event an action is initiated that might require access to data, that data must be available until the action is concluded and access to the data is no longer required as part of that process. After determining that the suspension is no longer required (released), normal deletion and expiration timing resumes per the original retention period.
Before you begin
Verify that the server is licensed by issuing a test dsmRetentionEvent call:
- Query for one object you want to hold and get the ID.
- Issue the dsmBeginTxn, dsmRetentionEvent with Hold, and dsmEndTxn.
- If the server is not licensed, you receive a vote of abort with
reason code
DSM_RC_ABORT_LICENSE_VIOLATION.
Restrictions:
- You cannot issue more than one dsmRetentionEvent call in a single transaction.
- You cannot issue a hold on an object that is already under hold.