Application area: SCSI interface
This statement starts the import of cartridges with a valid barcode label from the input/output unit, see section "Importing cartridges".
There is no need to specify archive numbers since all cartridges are identified by their barcode labels. The archive numbers of the imported cartridges are stored in the trace file of the ROBAR-SV instance (see "Trace files of the ROBAR-SV instances").
If MAREN is being used, ROBAR informs MAREN at the end of an import and issues the message ROB0037
.
IMPORT-ROBAR-VOLUME |
,LOCATION = <alphanum-name 1..8> / *NOT-SPECIFIED |
LOCATION = <alphanum-name 1..8> / *NOT-SPECIFIED
Defines the storage location to which the cartridge is to be imported.
LOCATION = <alphanum-name 1..8>
Defines the storage location. You should use this specification if multiple ROBAR-SV instances are connected. Only the ROBAR-SV instance which administers the specified location will perform the statement. See also the section "Checking the value for theLOCATION operand".
LOCATION = *NOT-SPECIFIED
No storage location is defined.
This value makes sense only when several ROBAR-SV instances are connected. All the archive systems import then the cartridges located in their input/output unit.
Notes
The volumes must have been placed in the input/output unit before the statement is issued, see "Importing cartridges". The order in which they are placed there is not predefined. Cartridges which cannot be identified are not imported by the robot; they remain in the input/output unit.
The MAREN administrator must add a foreign cartridge to the MAREN catalog with the following attributes:
//ADD-PRIVATE-VOLUME VOLUME=FORE1,USER-ID=user-id,DEVICE-TYPE=TAPE-xx //MODIFY-VOLUME-ATTRIBUTES VOLUME=FORE1, LOCATION=PARAMETERS(HOME-LOCATION=xxx, TEMP-LOCATION=xxx, FREE-LOCATION=xxx)
where
user-id
is the user ID to be allocated to the tape andxxx
is the storage location name that must correspond to the rules stipulated by MAREN.
If the VSN is not added to the MAREN catalog, inconsistencies occur between the archive record and the MAREN catalog.
Example
//IMPORT-ROBAR-VOLUME LOCATION=ROBOT1
This statement starts the import for all cartridges located in the input area of the input/output unit of the storage location ROBOT1
.