Skip to content

/AWS1/CL_STG=>DELETETAPEARCHIVE()

About DeleteTapeArchive

Deletes the specified virtual tape from the virtual tape shelf (VTS). This operation is only supported in the tape gateway type.

Method Signature

IMPORTING

Required arguments:

IV_TAPEARN TYPE /AWS1/STGTAPEARN /AWS1/STGTAPEARN

The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf (VTS).

Optional arguments:

IV_BYPASSGOVERNANCERETENTION TYPE /AWS1/STGBOOLEAN2 /AWS1/STGBOOLEAN2

Set to TRUE to delete an archived tape that belongs to a custom pool with tape retention lock. Only archived tapes with tape retention lock set to governance can be deleted. Archived tapes with tape retention lock set to compliance can't be deleted.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_STGDELTAPEARCHIVEOUT /AWS1/CL_STGDELTAPEARCHIVEOUT