API Guide
2-548 API Functions 601355 Rev A
VSCMD_Clear
Eject VSCMD_ClearEject reverses the scheduled ejection of one
or more media from an archive.
Ejects can be generated during processing of the VolServ
Checkout, Export, Mount, and Move commands. Ejects can
also be generated during automatic migration of media.
The ClearEject command essentially undoes the completion of
these commands. Media are removed from the Eject list and
returned to the available state.
For example, if a client issues an Export request for a specific
medium, the specified medium is scheduled for removal by
adding the medium to the Eject list for the archive associated
with the medium. If the client decides the medium should not be
removed from its associated archive, the client can issue a
ClearEject request, and VolServ removes the medium from the
Eject list.
Synopsis VST_BOOLEAN VSCMD_ClearEject
(VST_COMMAND_HANDLE handle,
“…”,
VSID_ENDFIELD)
Arguments handle = The command handle for this ClearEject
request.
“…” = Variable length argument list consisting of pairs of
arguments. Each pair of Arguments consists of a parameter
identifier, followed by the value of the field to use for this
request. The valid parameter identifiers and types for this
function are shown in the following "Parameters"
paragraph.