User's Manual

4-116 DAS ACI Functions
601626-B
aci_scratch_unset
The aci_scratch_unset function resets the scratch status of a
volume. See Figure 4-106.
Figure 4-106 aci_scratch_unset Function Call
Reset the status of volume named volser in the scratch pool
named subpool from scratch to non-scratch media and remove
the volser from subpool. If subpool is set to the NULL string (""
or ’\0’) the default pool will be used. If the requested
volume is the last volume in the pool, the pool will be deleted.
See Table 4-47.
For additional information, refer to
aci_scratch_set on page 4-114.
Table 4-47 Parameters for the aci_scratch_unset Function Call
Parameter Description
subpool the stored name of the pool for scratch media in the AMU database.
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 set subpool to the
NULL string (““ or ‘\0’)
type type of the media in the subpool
(Refer to Media Types on page 2-7)
volser set volser to scratch in the named subpool in the AMU database
(only possible, if the volser is already defined in the AMU database
but the status of the volser (ejected, mounted, etc.) is not relevant).
#include "aci.h"
int aci_scratch_unset( char *subpool,
enum aci_media type,
char *volser )