IBM TS2340 User Guide - Page 438
unload, update_code, write, This command calls the device driver DeviceIoControl entry point with an
UPC - 883436006873
View all IBM TS2340 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 438 highlights
Windows - Utility Program (ntutil) This command calls the device driver DeviceIoControl entry point with an operation of IOCTL_SCSI_PASS_THROUGH and a CDB[0] of SCSIOP_TEST_UNIT_READY. If the operation is unsuccessful, the sense data is displayed. Specify 0 to send the command to the drive. Specify 1 to send the command to the changer. unload: SYNTAX: unload for example, unload FUNCTION Tested: This command calls the device driver PrepareTape entry point with an operation of TAPE_UNLOAD. It attempts to rewind and unload the tape device special file opened previously. update_code: SYNTAX: update_code image_name = string for example, update_code image_name = d0i9_430 FUNCTION Tested: This command updates the microcode and calls the device driver DeviceIoControl entry point with an operation of IOCTL_SCSI_PASS_THROUGH and a CDB[0] of SCSIOP_WRITE_DATA_BUFF. The filename portion of the image name must be specified and is read from the directory where ntutil was started. The file extent must be .fmr for the file. write: SYNTAX: write write records = n write records = n data = m for example, write records = 3 data = 888 FUNCTION Tested: This command calls the device driver WriteFile entry point. It attempts to write to the tape device special file opened previously. The amount of data to be written depends on the current settings of the block_size and block_count variables and on the number of records specified. This command transfers n records. A record has a length of block_size*block_count for Fixed-Block mode, and block_count for Variable mode. For example, if block_size=1024, block_count=2 and records=3, then three 2048 transfers are done. If the operation succeeds, the RC shows the total number of bytes transferred. If the records attribute is not specified, the default is 1. Each record written has random bytes preceded by an integer identifier. If the data attribute is not specified, the identifier is a unique sequential counter. This can be overridden by specifying data=. This value can be checked on a read command by specifying, for example, result data=888. If data is specified, the record count must be specified. Data can be a decimal value from 0-4294967295. 420 IBM Tape Device Drivers Installation and User's Guide