ADIC Server manual 13Parameters for the acidrivestatus3one Function Call

Models: Server

1 218
Download 218 pages 15.53 Kb
Page 79
Image 79

See Table 4-13for an explanation of the parameters used for the aci_drivestatus3_one function.

Table 4-13Parameters for the aci_drivestatus3_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

 

 

 

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:

aci_drivestatus3_one 4-37

21 Dec 2001

Page 79
Image 79
ADIC Server manual 13Parameters for the acidrivestatus3one Function Call