Aci_Insert2 - ADIC Server User Manual

Adic server user manual
Table of Contents

Advertisement

/* Insert media into AML */
int rc, i;
enum aci_media type = ACI_3590;
char *area_name = "I01";
char *volser_ranges[ACI_MAX_RANGES];
rc = aci_insert(area_name, volser_ranges, &type);
if( rc )
{
}
else
{
}
Figure 4-67

aci_insert2

#include "aci.h"
int aci_insert2( char *insertopt,
Figure 4-68
21 Dec 2001
EBARCODE
EAREAFULL
Refer to Figure 4-67 on page 4-77 for an example of the
aci_insert function.
aci_perror("Command failed: ");
for (i = 0; i < ACI_MAX_RANGES; i++)
if (*volser_ranges[i] == '\0')
break;
else
printf("%s\n", volser_ranges[i]);
Example of the aci_insert Function
The aci_insert2 function inserts volumes, including clean
media, into the AML. See Figure 4-68
char *areaname,
char *cleanPoolname,
int *pnActualCount,
struct aci_ei_info *pstEiInfo)
aci_insert2 Function Call
The cartridges which are located in the Insert area of the AML
and registered by the AMU (automatically inventoried after
closing the area), will be inserted.
aci_insert2
4-77

Advertisement

Table of Contents
loading

Table of Contents