Return Values - ADIC Server User Manual

Adic server user manual
Table of Contents

Advertisement

Return Values

/* Change volume's scratch status */
/* Change volume's scratch status */
int
rc;
int
rc;
char *pszPoolName = "";
char *pszPoolName = "";
enum aci_media type = ACI_3590;
enum aci_media type = ACI_3590;
char *pszVolser
char *pszVolser
rc = aci_scratch_unset(pszPoolName,type,pszVolser);
rc = aci_scratch_unset(pszPoolName,type,pszVolser);
if( rc )
if( rc )
{
{
}
else
{
scratchpool.\n",
}
Figure 4-107
21 Dec 2001
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
EDATABASE
ENOTSUPPHCMD
See Figure 4-107 for an example of the aci_scratch_unset
function.
= "VOL001"
= "VOL001"
aci_perror ("aci_scratch_unset failed");
printf ("Volser %s removed from
pszVolser);
Example of the aci_scratch_unset Function
aci_scratch_unset
4-117

Advertisement

Table of Contents
loading

Table of Contents