ADIC Server Server User Manual


 
4-42 DAS ACI Functions
601626-B
aci_eject2
The aci_eject2 function ejects a range of volumes from the
AML. See Figure 4-34.
Figure 4-34 aci_eject2 Function Call
For the structure of the aci_ei_info function, refer to
Figure 4-35.
Figure 4-35 Structure of the aci_ei_info function from aci.h
See Table 4-16 for a description of the parameters for the
aci_eject2 function call.
Table 4-16 Parameters for the aci_eject2 Function Call
Parameter Description
eject_area logical area defined in the AMS, where the cartridges should be
ejected
volser_range a single volser
multiple volsers separated by commas
a range of volsers separated by a hyphen
set to empty (““ or ‘\0’) if it is not to be changed
type media type of the named volser range
Refer to Media Types on page 2-7
pnActualCount returned number of ejected volsers
#include "aci.h"
int aci_eject2( char *eject_area,
char *volser_range,
enum aci_media type,
int *pnActualCount,
struct aci_ei_info *psteiInfo)
struct aci_ei_info {
char volser[ACI_VOLSER_LEN];
char media_type[ACI_DRIVE_LEN];
int errcode
};