Adic Server Manuel d'utilisateur Page 96

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 218
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 95
4-54 DAS ACI Functions
601626-B
Figure 4-43 Example of the aci_eject2_complete Function
aci_eject3_complete
The aci_eject3_complete function ejects a range of volumes
from the AML, and deletes the home coordinate. See
Figure 4-44.
Figure 4-44 aci_eject3_complete Function Call
/* 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,
ACI_3590, & pActualCount, &ei_info );
if( rec )
{
aci_perror( "Command failed: " );
}
else
{
printf("Volume ejects request successful\n" );
for (i = 0; i < ACI_EI_MAX_RANGE; i++)
{
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 );
}
}
#include "aci.h"
int aci_eject3_complete( char *eject_area,
char *volser_range,
enum aci_media type,
int *pnActualCount,
struct aci_ei_info *psteiInfo)
Vue de la page 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 217 218

Commentaires sur ces manuels

Pas de commentaire