IBM TS2340 User Guide - Page 429
display_message, TESTMSG, dump_blocks read and display blocks, erase, find_devices, block_size=1024
UPC - 883436006873
View all IBM TS2340 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 429 highlights
Windows - Utility Program (ntutil) This command displays the data buffer contents for the last read or write transfer. display_message: SYNTAX: display_message for example, display_message FUNCTION Tested: This command calls the device driver DeviceIoControl entry point with an operation of input/output control IOCTL_SCSI_PASS_THROUGH and a CDB[0] of 0xC0 (Display Message). If the operation is successful, the message is displayed on the operator panel. The message alternates between TESTMSG and T E S T unless the Manual mode display message was used previously, in which case that data is displayed. dump_blocks (read and display blocks): SYNTAX: dump_blocks dump_blocks records = n for example, dump_blocks records = 2 FUNCTION Tested: This command calls the device driver ReadFile entry point. It attempts to read from the tape device special file opened previously. The amount of data to be read depends on the current settings of the block_size and block_count variables and on the number of records specified. The first 16 bytes of each record are printed. 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. erase: SYNTAX: erase for example, erase FUNCTION Tested: This command calls the device driver EraseTape entry point with an operation of TAPE_ERASE_LONG. It attempts to erase, then leave at load point, the tape device special file opened previously. find_devices: SYNTAX: find_devices for example, find_devices FUNCTION Tested: This command (which corresponds to the List registered devices command on the interactive menu) searches the following registry key and looks for tape and medium changer device identifiers: "HARDWARE\\DEVICEMAP\\Scsi\\Scsi Port W\\Scsi Bus X\\Target Id Y\\Logical Unit Id Z" Appendix D. Tape Utility Programs 411