ADIC Server User Manual page 87

Adic server user manual
Table of Contents

Advertisement

/* Eject volume but reserve archive location */
int rc, i, pnActualCount;
char *volser_range = "000815 - 004711";
char *eject_area = "E02"
struct aci_ei_info ei_info[ACI_EI_MAX_RANGE];
rc = aci_eject2( eject_area, volser_range, ACI_3590
&pnActualCount, &ei_info );
if( rc )
{
}
else
{
for (i = 0; i < ACI_EI_MAX_RANGE; i++)
Figure 4-36
21 Dec 2001
aci_perror( "Command failed: " );
printf("Volume ejects 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_eject2 Function
aci_eject2
4-45

Advertisement

Table of Contents
loading

Table of Contents