Command Reference

Parameter

Descrition

 

 

-Ttimeout

Amount of time (in seconds) the API software

Default value is

waits for status from VolServ before returning

a time-out to the CLI software. Total wait time

120 seconds.

for a command is (retries plus 1) multiplied by

 

 

time-out value.

 

 

-Vprognum

RPC program number for VolServ.

Default value is

 

300016.

 

 

 

Return Codes

• 0 - The vscheckin command is successfully processed.

 

-1 - An error is detected by either the CLI software or the

 

API software.

 

 

 

 

• >0 - An error is detected by VolServ. The returned exit code

 

corresponds to the error code given by VolServ.

Examples

Step 1.

Successful Checkin request with verbose option

 

 

specified. Requests VolServ to check MED012,

 

 

MED014, and MED023 into the library from

 

 

which they were checked out and to return status on

 

 

each media.

 

 

 

 

 

 

 

 

 

vscheckin MED012 MED014 MED023 -v

 

 

 

Step 2.

 

 

 

 

 

Output returned:

 

 

 

 

 

 

 

 

 

Check in 3 of 3 media was successful

 

 

 

 

 

Media [MED012]

no error

 

 

 

Media [MED014]

no error

 

 

 

Media [MED023]

no error

 

 

 

 

 

 

 

2-24

Command Reference

601356 Rev A

Page 60
Image 60
ADIC 601356 manual Vscheckin command is successfully processed