4-78 DAS ACI Functions 601626-B
Volsers which already have a entry in the AMU database,
will be moved to this position.
Volsers which have no entry in th e AMU database, will be
moved to the first free slot (AMU database Attribute:
"Empty" of this media type of the Type AMU-Dynamic)
•With insertopt -c will move the cartridges to the first
free slot (AMU database Attribute: "Empty") of this media
type of the Type AMU-Dynamic. The attribute will
automatic change to Clean
Cartridges with an invalid volser (barcode not readable)
will be moved to the problembox.
The function returned the inserted volser with the following
structure. See Figure 4-69.
For additional information, refer to aci_eject on page 4-39.
Figure 4-69 aci_ei_info Structure from aci.h
See Table 4-29 for a description of the parameters for the
aci_insert2 function call.
Table 4-29 Parameters for the aci_insert2 Functi on Call
Parameter Description
insertopt defined the type of media for the insert operation
-n normal (data cartridges)
-c clean (cleaning cartridges)
areaname Logical insert range of the Insert/Eject unit of the AML
in the AMS (e.g. I03)
cleanPoolname Name of the Cleanpool defined in AML (must be NULL,
if insertopt= n)
pnActualCount Number of inserted volsers and pointer to an array of
structure
struct aci_ei_info {
char volser[ACI_VOLSER_LEN];
char media_type[ACI_DRIVE_LEN;
int errcode
}