The Reclaim Media (Q1ARCLMED) API gives users the ability to programaticaly reclaim a single tape volume.
Authorities and Locks
Required Parameter Group
Reclaim media information INPUT; CHAR(*)
The structure in which to return error information. For the format of the structure, see the Error Code Parameter section below.
CRMI0100 Reclaim Media Information Formats
Output media class
End of tape option
Reclaim Media Information Format field descriptions:
Input device. Specifies what input device is to be used for the reclaim option.
A six-byte volume identifier of a tape volume registered in the BRMS media inventory. The volume must be active and must contain at least one active file sequence. The volume must also be owned by the system on which the reclaim operation is performed.
The following messages may be sent from this function: