ADIC Server User Manual page 144

Adic server user manual
Table of Contents

Advertisement

/* Query volser range */
int
char szBeginVolser[ ACI_VOLSER_LEN ] = "";
char szEndVolser
char szClient
int
int
int
struct aci_volserinfo stVolsRange[ nCount ];
rc = aci_qvolsrange((char *) &szBeginVolser,
if( rc == -1 )
else
{
data",d_errno==EMOREDATA?"":"no" );
}
Figure 4-93
4-102 DAS ACI Functions
rc = 0;
[ ACI_VOLSER_LEN ] = "";
[ ACI_NAME_LEN ]
nCount = ACI_MAX_QUERY_VOLSRANGE;
nActualCount = 0;
nFor;
(char *) &szEndVolser,
nCount,
(char *) &szClient,
&nActualCount,
(struct aci_volserinfo *) &stVolsRange );
aci_perror("Command failed: ");
printf( "\nnext volser %s", szBeginVolser );
printf( "\ncount %ld", nActualCount );
printf( "\n%smore
for( nFor = 0; nFor < nActualCount; nFor++ )
printf( "\nvolser %s media %ld attrib %c",
stVolsRange[ nFor ].volser,
stVolsRange[ nFor ].media_type,
stVolsRange[ nFor ].attrib
Example of the aci_qvolsrange Function
= "";
);
601626-B

Advertisement

Table of Contents
loading

Table of Contents