aci_getVolserToSide 4-71
21 Dec 2001
Figure 4-60 Structure of Type aci_sideinfo
The define ‘ACI_SIDE_NUMBER’ parameter is set, in aci.h, to
2. See Table 4-27.
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
• ENOTAUTH
• ETIMEOUT
• ESWITCHINPROG
• ENODOUBLESIDE
Refer to Figure 4-61 on page 4-72 for an example of the
aci_getvolsertoside function.
Table 4-27 Parameters for the aci_getvolsert oside Function Call
Parameter Description
volser name of the volser, for which information is requested
aci_sideinfo information returned for the selected volser
CVolumeside A: for the Volser located on the
top label
B: for the Volser located on the
bottom label on the cartridge
sZVolser Volser from the AMU database
struct aci_sideinfo {
char cVolumeSide;
char szVolser[ACI_VOLSER_LEN];
}