4-6 DAS ACI Functions
601626-B
The Scalar 1000 does not support the aci_barcode command
(barcode on Scalar 1000 will never read on mount and eject).
Use this command to switch the barcode reading after the
command aci_mount, aci_cleandrive or any aci_eject ended
with failure and derrno=EBARCODE. After aci_barcode
completed, try the previous command again.
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
• EPROBVOL
• EAMU
• EAMUCOMM
• EROBOTCOMM
• EBADCLIENT
• EDASINT
• ETIMEOUT
• EAMUCOMM
• ESWITCHINPROG
• EDASINT
• ENOROBOT
• EDATABASE
• ENOTSUPPHCMD
Refer to Figure 4-2 on page 4-7 for an example of the
aci_barcode function.