Use this command to add a sequential access storage volume or a cleaning tape to the TSM inventory for an available, automated library. This command informs TSM that a volume is available for use. TSM does not use a volume that physically resides in an automated library until the volume has been checked in via this command.
Note: | The CHECKIN LIBVOLUME command processing will not wait for a drive to become available, even if the drive is only in the IDLE state. If necessary, a library must be made available by dismounting the drive with the DISMOUNT VOLUME command. Once a library drive is available, the CHECKIN LIBVOLUME command can be reissued. |
This command creates a background process that can be canceled with the CANCEL PROCESS command. To display information on background processes, use the QUERY PROCESS command.
Privilege Class
To issue this command, you must have system privilege or unrestricted storage privilege.
Syntax
>>-CHECKIn LIBVolume--library_name--volume_name-----------------> .-SEARCH--=--No-------. >-----+---------------------+-----------------------------------> '-SEARCH--=--+-No---+-' +-Yes--+ '-Bulk-' >-----+-------------------------------------+-------------------> '-VOLRange--=----volname1,volname2----' >-----STATus--=--+-PRIvate-+------------------------------------> +-SCRatch-+ '-CLEaner-' >-----+-------------------------------------+-------------------> | .-,-------------. | | V | | '-VOLList--=--+----volume_name---+-+--' '-FILE:--file_name---' .-CHECKLabel--=--Yes---------. .-SWAP--=--No------. >-----+----------------------------+---+------------------+-----> '-CHECKLabel--=--+-Yes-----+-' '-SWAP--=--+-No--+-' +-No------+ '-Yes-' '-Barcode-' .-MOUNTWait--=--60--------------. >-----+-------------------------------+-------------------------> '-MOUNTWait--=--mountwaitvalue--' >-----+----------------------+---+---------------------------+->< '-DEVType--=----3590---' '-CLEanings--=----number----'
Parameters
Note: | If the library is shared between applications, be cautious when selecting this parameter. TSM could examine a volume required by another application. |
Note: | Do not specify both CHECKLABEL=NO and SEARCH=BULK. |
Specifies a range of volume names separated by a comma. Use this parameter to limit the search when you specify SEARCH=YES.
You can specify only volume names that can be numerically
incremented. In addition to the incremental area, a volume name can
include an alphanumeric prefix and an alphanumeric suffix, for example:
Parameter | Description |
---|---|
volrange=bar110,bar130 | The 21 volumes are checked in: bar110, bar111, bar112,...bar129, bar130. |
volrange=bar11a,bar13a | The 3 volumes are checked in: bar11a, bar12a, bar13a. |
volrange=123400,123410 | The 11 volumes are checked in: 123400, 123401, ...123409, 123410. |
Note: | VOLList is designed to filter only the volumes to be checked in or labeled, and it requires that CHECKLabel=BARCODE. |
TAPE01 TAPE02 TAPE03
You can specify the volumes for the command as follows: VOLLIST=TAPEVOL.
Note: | The file name is case sensitive. |
Note: | CHECKLABEL=YES is invalid for checking in a cleaner. A cleaner cartridge must be checked in separately from a data cartridge by using STATUS=CLEANER. |
Possible values are:
This parameter applies only to SCSI libraries. To use this option, you must specify SEARCH=YES.
Note: | The volume selected for the swap operation (target swap volume) is ejected from the library and replaced with the volume being checked in. TSM identifies a target swap volume by checking for an available scratch volume. If none exist, TSM identifies the least frequently mounted volume. |
Note: | If more than one cleaner is checked into the library, only one will be used until its CLEANINGS value decreases to zero. Another cleaner will then be selected by TSM, and the first cleaner can be checked out and discarded. |
Examples
Task 1
Check in the volume named WPDV00 into the library named AUTO.
Related Commands
Table 28. Commands Related to CHECKIN LIBVOLUME
Command | Description |
---|---|
AUDIT LIBRARY | Ensures that an automated library is in a consistent state. |
CHECKOUT LIBVOLUME | Checks a storage volume out of an automated library. |
DEFINE LIBRARY | Defines an automated or manual library. |
QUERY LIBRARY | Displays information about one or more libraries. |
QUERY LIBVOLUME | Displays information about a library volume. |
UPDATE LIBVOLUME | Changes the status of a storage volume. |
LABEL LIBVOLUME | Labels a library volume. |