ADIC Server User Manual page 93

Adic server user manual
Table of Contents

Advertisement

/* Eject volume from archive and free storage position.
*/
int rc = 0;
rc = aci_eject_complete("E01", "AAB001", ACI_3590 );
if( rc )
{
}
else
{
}
Figure 4-40
aci_eject2_complete
#include "aci.h"
int aci_eject2_complete( char *eject_area,
Figure 4-41
struct aci_ei_info {
};
Figure 4-42
21 Dec 2001
aci_perror( "Command failed:" );
printf( "Volser AAB001 ejected to E01 \n" );
Example of the aci_eject_complete Function
The aci_eject2_complete function ejects a range of volumes
from the AML, and deletes the home coordinate. See
Figure 4-41.
char *volser_range,
enum aci_media type,
int *pnActualCount,
struct aci_ei_info *psteiInfo)
aci_eject2_complete Function Call
See Figure 4-42 for the structure of the aci_ei_info function.
char volser[ACI_VOLSER_LEN];
char media_type[ACI_DRIVE_LEN];
int errcode
Structure of the aci_ei_info function
aci_eject2_complete
4-51

Advertisement

Table of Contents
loading

Table of Contents