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