Adic Server Manuel d'utilisateur Page 159

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 218
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 158
aci_scratch_unset 4-117
21 Dec 2001
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
EDATABASE
ENOTSUPPHCMD
See Figure 4-107 for an example of the aci_scratch_unset
function.
Figure 4-107 Example of the aci_scratch_unset Function
/* Change volume’s scratch status */
int rc;
char *pszPoolName = "";
enum aci_media type = ACI_3590;
char *pszVolser = "VOL001"
rc = aci_scratch_unset(pszPoolName,type,pszVolser);
if( rc )
{
/* Change volume’s scratch status */
int rc;
char *pszPoolName = "";
enum aci_media type = ACI_3590;
char *pszVolser = "VOL001"
rc = aci_scratch_unset(pszPoolName,type,pszVolser);
if( rc )
{
aci_perror ("aci_scratch_unset failed");
}
else
{
printf ("Volser %s removed from
scratchpool.\n",
pszVolser);
}
Vue de la page 158
1 2 ... 154 155 156 157 158 159 160 161 162 163 164 ... 217 218

Commentaires sur ces manuels

Pas de commentaire