ADIC 601355 Rev A Benutzerhandbuch

Seite von 1192
API Guide
2-660
API Functions
601355 Rev A
VSCMD_
Export
VSCMD_Export
 is issued to execute the VolServ Export 
request.
A client uses the Export request to mark media and related 
information for removal from the VolServ system. If the 
specified media are not associated with an archive, they are 
logically removed from the VolServ system. If the specified 
media are associated with an archive, they are placed on the 
eject list of the appropriate archive.
A client can also use the Export request to remove information 
about media that have been checked out of the archive and are 
physically out of the archive.
Upon receipt of an Export request, VolServ marks the specified 
media for ejection and returns a successful return code to the 
client. A message is sent to the operator console indicating 
which media need to be ejected from the archive.
To physically remove media from the archive system, an 
operator must select the eject function from the appropriate 
archive's console display. The eject function is not available 
from the API.
After a medium specified on an Export request is physically 
removed from the archive system, the medium is no longer 
under the control of VolServ. Consequently, all information 
related to exported medium is deleted from the VolServ system.
Synopsis
VST_BOOLEAN VSCMD_Export ( 
VST_COMMAND_HANDLE handle,
"…",
VSID_ENDFIELD )