beautypg.com

Aci_unload, Return values, Aci_unload -122 – ADIC Server User Manual

Page 164: Return values -122, Figure 4-113, Table 4-51, Para

background image

4-122 DAS ACI Functions

601626-B

aci_unload

The aci_unload function presses one or more buttons on a
drive in the AML. See Figure 4-113.

Figure 4-113

aci_unload Function Call

See Table 4-51 for an description of the parameter for the
aci_unload function.

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

EAMU

EAMUCOMM

EROBOTCOMM

EPROBDEV

ERPC

EINVALID

EDASINT

ETIMEOUT

ESWITCHINPROG

EINVALIDDEV

ENOROBOT

EDATABASE

ENOTSUPPHCMD

EAREAEMPTY

EPROBDEV

Table 4-51

Parameter for the aci_unload Function Call

Parameter

Description

szDrive

Name of the drive for unload, defined in Description in the
AMS configuration

#include "aci.h"

int aci_unload(char *szDrive)