4-110 DAS ACI Functions 601626-B
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:
• EINVALID
• EDASINT
• ENOPOOL
• ERETRYL
• ERPC
• ETIMEOUT
• ESWITCHINPROG
• EDATABASE
• ENOTSUPPHCMD
Refer to Figure 4-101 on page 4-111 for an example of the
aci_scratch_get function.
Table 4-44 Parameters for the aci_scratch_get Function Call
Parameter Description
subpool stored name of the pool for scratch media in the AMU database
If the volume is to be taken from a default subpool of a media
type, set type to the media type of the volser and set subpool to
the NULL string (““ or ‘\0’)
type type of media in the named subpool
(Refer to Media Types on page 2-7)
volser first scratch volser of the named subpool found in the AMU
database, independent of the status of the volser (ejected,
mounted, etc.)