4-90 DAS ACI Functions
601626-B
Figure 4-81 Example of the Returned Structure
Refer to Table 4-34 for a description of the parameters for the
aci_list_foreign function call.
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
• ETIMEOUT
• ESWITCHINPROG
• EBADCLIENT
• ENOTSUPPHCMD
Table 4-34 Parameters for the aci_list_foreign Function Call
Parameter Description
volser the volser number
coord coordinates of the foreign volser
aci_media_type eType the medium type of the volser as
listed in the DAS Administration
Guide
attrib the attributes of the foreign volser
struct aci_foreign_desc {
char volser[ACI_VOLSER_LEN];
char coord[ACI_COORD_LEN];
enum aci_media_type eType;
char attrib
};