Adic Server Manual de usuario Pagina 122

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 218
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 121
4-80 DAS ACI Functions
601626-B
EDATABASE
ENOTSUPPHCMD
EAREAEMPTY
ENOPOOL
EBARCODE
EAREAFULL
See Figure 4-70 for an example of the aci_insert2 function.
Figure 4-70 Example of the aci_insert2 Function
/* insert clean volume in the AML system*/
int res, i, pnActualCount;
char *cleanPoolname = "CLP01";
char *areaname = "I02"
struct aci_ei_info *pstEiInfo[ACI_EI_MAX_RANGE];
res = aci_insert2( "-c", areaname, cleanPoolname,
&pnActualCount, pstEiInfo;
if( rec )
{
aci_perror( "Command failed: " );
}
else
{
printf("Volume insert 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 );
}
}
Vista de pagina 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 217 218

Comentarios a estos manuales

Sin comentarios