Return values, Return values -35, Table 4-12 – ADIC Server User Manual

Page 77: Para

Advertising
background image

aci_drivestatus2_one

4-35

21 Dec 2001

See Table 4-12 for an explanation of the parameters used for
the aci_drivestatus2_one function.

Return Values

0: The call was successful

-1: The call has failed

The external variable d_errno is set to one of the following DAS
error codes:

Table 4-12

Parameters for the aci_drivestatus2_one Function Call

Parameter

Description

clientname

name of the client that requested the status of the
drives. If clientname is the NULL string, return status
on all drives.

aci_drive_entry

returned information about the status of the drives

drive_name

name of the drive (name used in
DAS and AMS description)

amu_drive_name

internal AMS drive name e.g. 03
or ZZ

drive_state

UP or DOWN reservation of the
drive
Refer to aci_driveaccess on page
4-18

type

type of the drive (internal AMS
code, e.g. E for DLT drive) (See
the AMU Reference Guide)

system_id

empty, reserved for further use

clientname

name of the client that the drive is
presently allocated to

volser

Volser, if the drive is currently
occupied

cleaning

true if the drive is presently
occupied with a medium for
cleaning

clean_count

number of mounts until the next
clean activity

Advertising