Macros 5-19
21 Dec 2001
aci_eject
The aci_eject function ejects a range of volumes from the
AML. See Figure 5-19.
Figure 5-19 aci_eject Asynchronous Function Call
All the parameters must comply with the rules for the
aci_eject function call.
The local variable int res must be defined before using this
macro.
Return Values
The d_errno and d_text globals are copied to the d_errno and
d_text fields of the shared memory array entry. The process is
terminated by the exit call with the res exit code. If there are
problems with the shared memory attachment, the d_errno
global will be set to ENOSHARED.
aci_eject_complete
The aci_eject_complete function ejects volumes and removes
the database entries. See Figure 5-20.
Figure 5-20 aci_eject_complete Asynchronous Function Call
All the parameters must comply with the rules for the
aci_eject_complete function call.
The local variable int res must be defined before using this
macro.
#include "aci_async.h"
ACI_EJECT(eject_area, volser_range, type)
#include "aci_async.h"
ACI_EJECT_COMPLETE(eject_area, volser_range, type)