ADIC 601356 Manuale Utente

Pagina di 192
Command Reference
601356 Rev A
Command Reference
2-67
Commands
Return Codes
0  -  The 
vsimport
 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 Import request with verbose option 
specified
Requests VolServ to import media 
MED003, 
MED018, MED021, MED030,
 and 
MED036
 into 
the 
medclasssh1med
 MediaClass group in the 
shelf1
 library and to return status on every 
specified media.
-T 
timeout
Default value is 
120 seconds.
Amount of time (in seconds) the API software 
waits for status from VolServ before returning 
a time-out to the CLI software. Total wait time 
for a command is (retries plus 1) multiplied by 
time-out value.
-V 
prognum
Default value is 
300016.
RPC program number for VolServ.
Parameter
Description
vsimport MED003 MED018 MED021 MED030 
MED036
-a shelf1 -c medclasssh1med -v