Figure 4-45, Table 4-20, Para – ADIC Server User Manual

Page 97

Advertising
background image

aci_eject3_complete

4-55

21 Dec 2001

The volser_range field has a maximum size of 512 bytes.

See Figure 4-45 for the structure of the aci_ei_info function.

Figure 4-45

Structure of the aci_ei_info function

See Table 4-20 for a description of the parameters for the
aci_eject3_complete function call.

If the eject area is full the system stops the eject procedure.
Depending on the DAS_EJECTAREAFULL environment
variable on the AMU, the command will be canceled, or the
system starts with the next eject after the operator has
removed cartridges from the eject area.

Table 4-20

Parameters for the aci_eject3_complete Function Call

Parameter

Description

eject_area

logical area defined in AML, 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

pnActualCount

returned number of ejected volsers

aci_ei_info

returned information to each ejected volser

volser

volser of the ejected volume

type

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

errcode

Error code derrno

struct aci_ei_info {

char volser[ACI_VOLSER_LEN];

char media_type[ACI_DRIVE_LEN];

int errcode

};

Advertising