4-112 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
• ERPC
• ETIMEOUT
• ESWITCHINPROG
Refer to Figure 4-103 on page 4-113 for an example of the
aci_scratch_info function.
Table 4-45 Parameters for the aci_scratch_info Function Call
Parameter Description
subpool stored name of the pool for scratch media. If the information
is to be taken from a default subpool of a media type, set type
to the media type of the volser and seat subpool to the NULL
string (““ or ‘\0’)
type type of the media in the subpool
(Refer to Media Types on page 2-7)
volcount number of volsers in the named pool (independent of the
status scratch or not defined)
scratchcount number of the volser with the status scratch in the named
subpool, independent of the status of the volser (eject,
mounted, etc.)