4-98 DAS ACI Functions 601626-B
Figure 4-89 Example of the aci_qversion Function
aci_qvolsrange
The aci_qvolsrange queries the list of available volsers. See
Figure 4-90.
Figure 4-90 aci_qvolsrange Function Call
The function returns a list of volsers from the archive catalog.
Figure 4-91 on page 4-99 shows the relation of the
configuration to the amount of returned volsers.
/* Check DAS and ACI version */
int rc = 0;
char szACIVersion[ ACI_MAX_VERSION_LEN ] = "";
char szDASVersion[ ACI_MAX_VERSION_LEN ] = "";
if( ( rc = aci_qversion( (char *) &szACIVersion,
(char *) &szDASVersion ) ) )
{
aci_perror("Version request failed: ");
}
else
{
printf("DAS-Version : %s\n", szDASVersion );
}
printf("ACI-Version : %s\n", szACIVersion ); /*always OK */
#include "aci.h"
int aci_qvolsrange( char *startvolser,
char *endvolser,
int num_of_requested_volsers,
char *client_name,
int *number_of_returned_volsers,
struct aci_volserinfo *list )