Aci_eject3, Aci_eject3 -46, Figure 4-37 – ADIC Server User Manual

Page 88: Figure 4-38, Table 4-17, Para

Advertising
background image

4-46

DAS ACI Functions

601626-B

aci_eject3

The aci_eject3 function ejects a range of volumes from the
AML. See Figure 4-37.

Figure 4-37

aci_eject3 Function Call

The volser_range field has a maximum size of 512 bytes.

For the structure of the aci_ei_info function, refer to
Figure 4-38.

Figure 4-38

Structure of the aci_ei_info function

See Table 4-17 for a description of the parameters for the
aci_eject2 function call.

Table 4-17

Parameters for the aci_eject3 Function Call

Parameter

Description

eject_area

logical area defined in the AMS, where the cartridges should be
ejected

volser_range

• a single volser
• multiple volsers separated by commas
• a range of volsers separated by a hyphen
• set to empty (““ or ‘\0’) if it is not to be changed

type

media type of the named volser range
Refer to Media Types on page 2-7

#include "aci.h"

int aci_eject3( char *eject_area,

char *volser_range,

enum aci_media type,

int *pnActualCount,

struct aci_ei_info *psteiInfo)

struct aci_ei_info {

char volser[ACI_VOLSER_LEN];

char media_type[ACI_DRIVE_LEN];

int errcode

};

Advertising