Aci_Getvolsertodrive - ADIC Server User Manual

Adic server user manual
Table of Contents

Advertisement

/* Add foreign media to DAS catalog */
int rc = 0;
enum aci_media type = ACI_3590;
char *volser = "FOR001";
char *coord = "E301010310";
short pos = 0;
if ((rc = aci_foreign(ACI_ADD, volser, type,
{
{
else
{
}
Figure 4-55

aci_getvolsertodrive

#include "aci.h"
int aci_getvolsertodrive ( char *Drive,int num
Figure 4-56
4-68
DAS ACI Functions
coord, pos )))
aci_perror("Foreign media location failed: ");
printf("Foreign volser %s added.\n", volser);
Example of the aci_foreign Function.
The aci_getvolsertodrive function gets the configured relation
between the specified drive and the volser. See Figure 4-56.
struct aci_voltodrive_entry
*Idrive_inf[ACI_DRIVE_NUMBERS] )
aci_getvolsertodrive Function Call
This call returns the configured relation between the specified
drive and volsers. If 'Drive' is the Null String, the call returns
the relation of all drives that are configured. The response is
returned in InfoVolserToDrive, an array of pointers to an
aci_voltodrive_entry structure. Refer to
Figure 4-57 on page 4-69.
601626-B

Advertisement

Table of Contents
loading

Table of Contents