The drive table contains one row for each optical drive, whether operator-accessible or library-resident. The DB2 name of the drive table is DRIVE. The table is defined in table space OCDRVTSP. Table 1 describes the attributes of the columns in the drive table. A row is inserted into the drive table the first time that an optical disk drive with a given name is defined using the ISMF Library Management application.
Column description | Name | Index | DB2 type | DB2 attribute | Value | Report label |
---|---|---|---|---|---|---|
Optical drive name | NAME | U | CHAR(8) | NN | NAME | |
Optical library name | OLIBRARY | CHAR(8) | NN | OLIBRARY | ||
CTC device number | CTC | P | CHAR(4) | NN | CTC | |
SCSI bus address | SCSI** | P | CHAR(1) | NN | SCSI | |
Logical unit number | LUN** | P | CHAR(1) | NN | LUN | |
Online status | ONLINE | CHAR(1) | NN | Y|N | ONLINE | |
Operational status | OPERATNL | CHAR(1) | NN | Y|N | OPERATIONAL | |
Library drive number | LDRIVENO | CHAR(1) | NND | DRIVE_NUMBER | ||
Drive type | DRIVTYPE | CHAR(1) | NN | L|S | DRIVE_TYPE | |
Device type | DEVTYPE | CHAR(8) | NND | DEVICE_TYPE | ||
Drive description | DRIVDES | CHAR(120) | NND | DRIVE_DESCRIPTION | ||
Physical Drive Number | DRIVENUM | SMALLINT | NND | PHY_DRIVE_NUMBER | ||
OAM XCF member name | MEMBER | CHAR(16) | NND | OAM_XCF_MEMBER | ||
Note: **
No longer used.
|
The NAME column has a unique index. Therefore, each optical disk drive defined in the drive table must have a unique name.
The combination of CTC, SCSI, and LUN must be unique for each optical drive defined in the drive table, because there is a partitioned index on the CTC, SCSI, and LUN columns. CTC, SCSI, and LUN constitute the device address of the optical disk drive. This address is used by OAM to address the optical drive during I/O operations.
The online status, operational status, drive type, and device type columns in the drive table require specific values: