Aci_partial_inventory, Aci_partial_inventory -93, Figure 4-83 – ADIC Server User Manual

Page 135: Figure 4-84

Advertising
background image

aci_partial_inventory

4-93

21 Dec 2001

Figure 4-83

Example of the aci_mount Function

aci_partial_inventory

The aci_partial_inventory function inventories part of the
AML (only in one device). See Figure 4-84.

Figure 4-84

aci_partial_inventory Function Call

Start the compare between physical AML (barcode of the
Volser or database of the Scalar 1000) with the AMU database
and update the AMU database.

When aci_partial_invenotry is called with NULL stings for
SourceCoor and TargetCoor parameters, a complete
inventory will be invoked. If the archive is large, it could
take several hours for the inventory to complete.

Refer to Table 4-36 on page 4-94 for a description of the
parameters for the aci_partial_inventory function call.

/* Mount volume in specific drive */

int rc = 0;

rc = aci_mount( "AAB001", ACI_3590, "Drive2" );

if( rc )

{

aci_perror( "Command failed:" );

}

else

{

printf( "Mount of %s successful.\n", volser );

}

#include "aci.h"

int aci_partial_inventory

(char *SourceCoor,

char *TargetCoor)

Advertising