Aci_Eject3_Complete - ADIC Server User Manual

Adic server user manual
Table of Contents

Advertisement

/* Eject volume complete from AML system*/
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_complete( eject_area, volser_range,
if( rec )
{
}
else
{
for (i = 0; i < ACI_EI_MAX_RANGE; i++)
}
Figure 4-43

aci_eject3_complete

#include "aci.h"
int aci_eject3_complete( char *eject_area,
Figure 4-44
4-54
DAS ACI Functions
ACI_3590, & pActualCount, &ei_info );
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_complete Function
The aci_eject3_complete function ejects a range of volumes
from the AML, and deletes the home coordinate. See
Figure 4-44.
char *volser_range,
enum aci_media type,
int *pnActualCount,
struct aci_ei_info *psteiInfo)
aci_eject3_complete Function Call
601626-B

Advertisement

Table of Contents
loading

Table of Contents