ADIC Server User Manual page 122

Adic server user manual
Table of Contents

Advertisement

/* insert clean volume in the AML system*/
int res, i, pnActualCount;
char *cleanPoolname = "CLP01";
char *areaname = "I02"
struct aci_ei_info *pstEiInfo[ACI_EI_MAX_RANGE];
res = aci_insert2( "-c", areaname, cleanPoolname,
if( rec )
{
}
else
{
for (i = 0; i < ACI_EI_MAX_RANGE; i++)
}
Figure 4-70
4-80
DAS ACI Functions
EDATABASE
ENOTSUPPHCMD
EAREAEMPTY
ENOPOOL
EBARCODE
EAREAFULL
See Figure 4-70 for an example of the aci_insert2 function.
&pnActualCount, pstEiInfo;
aci_perror( "Command failed: " );
printf("Volume insert request successful\n" );
{
if ( *ei_info[i]->volser == '\0' )
break;
printf( "volser:%s media type:%s Error:%d\n",
ei_info[i]->volser,
ei_info[i]->media_type,
ei_info[i]->errcode );
}
Example of the aci_insert2 Function
601626-B

Advertisement

Table of Contents
loading

Table of Contents