![](/images/new-backgrounds/1147420/147420329x1.webp)
aci_view
The aci_view function is used to view a database entry for a volume. See Figure
#include "aci.h"
int aci_view( char *volser, enum aci_media type,
struct aci_volume_desc *desc )
Figure 4-114 aci_view Function Call
Return the database entry for the volume named volser of media type type. The database entry is returned in the aci_volume_desc structure. See Figure 4-115.
For additional information, refer to aci_qvolsrange on page 4-98, and aci_inventory on page 4-81.
struct aci_volume_desc {
char coordinate[ACI_COORD_LEN]; char owner;
char attrib; char type;
char volser[ACI_VOLSER_LEN] char vol_owner;
int use_count; int crash_count;
};
Figure 4-115 Volser Information Contained in the aci_volume_desc Structure
The structure returns the AMU archive catalog, which robot owns the volume, a volume attribute of mounted, ejected, occupied, or undefined, and the volser media type. Refer to Table 4-51 on page 4-122.
aci_view