beautypg.com

Aci_volser_inventory, Aci_volser_inventory -126, Figure 4-116 – ADIC Server User Manual

Page 168: Figure 4-117

background image

4-126 DAS ACI Functions

601626-B

Figure 4-116

Example of the aci_view Function

aci_volser_inventory

The aci_volser_inventory function inventories the volsers
within the AML. See Figure 4-117.

Figure 4-117

aci_volser_inventory Function Call

Start the comparison between the physical barcode volser and
the AMU database and update the AMU database as
necessary. Refer to Table 4-55 on page 4-127.

/* Get volume information */

int rc;

enum aci_media type = ACI_3590;

char *volser = "";

struct aci_vol_desc desc;

if ( rc = aci_view(volser, type, &desc ))

{

aci_perror("view failed");

}

else

{

printf("Volser=%s Type=%c Attrib=%c\n\tcoordinate

=%s\n"

"\tuse count = %d\n\",

desc.volser,

desc.type,

desc.attrib,

desc.coord,

desc.use_count;

}

#include "aci.h"

int aci_volser_inventory(char *pszVolser, int status)