Return values, Return values -95, Figure 4-85 – ADIC Server User Manual
Page 137

aci_partial_inventory
4-95
21 Dec 2001
Return Values
•
0: The call was successful.
•
-1: The call failed.
The external variable d_errno is set to one of the following
DAS error codes:
•
ERPC
•
EINVALID
•
ENOVOLUME
•
EPROBVOL
•
EAMU
•
EAMUCOMM
•
EROBOTCOMM
•
EDASINT
•
ERETRYL
•
ENOTFOUND
•
ECANCELLED
•
EDASINT
•
ETIMEOUT
•
ESWITCHINPROG
•
EHICAPINUSE
•
ECOORDINATE
•
EBARCODE
See Figure 4-85 for an example of the aci_partial_inventory
function.
Figure 4-85
Example of the aci_partial_inventory Function
/* Partial Inventory in AML */
int rc = 0;
rc =aci_partial_inventory("L501010101", L501011310");
if( rc )
{
aci_perror( "Command failed:" );
}
else
{
printf( "Inventory started successful.\n");
}