IBM TS2340 User Guide - Page 427
Batch Mode, when the device driver is started the first time.
UPC - 883436006873
View all IBM TS2340 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 427 highlights
Windows - Utility Program (ntutil) Test tool version x.x.x.x | Variable settings | LIBRARY MODE tape-special-file-name: tape0, changer-special-file-name: lb0.1.2.3 | gp->fd0=-1 gp->fd1=-1 block size=1024 block count=1 | hex block id = 0000000000000000 | return_error_when_fail 1 exit_on_unexpected_result 0 trace_flag 0 | | manual test menu: | 1: set device special file 2: display symbols | 3: set block size R/W (now !0 fixed) | 5: set return error when fail 6: set/reset trace | 7: set exit on unexpected result 8: Base Mode | 10: ioctl return library inventory 11: ioctl move medium | 12: ioctl initialize element status 13: ioctl get changer params | 20: open 21: close | 22: read 23: write | 24: read and display block 25: flush (buffer->media) | 26: read block id 27: erase | 28: locate block id 29: display block data | 30: write filemark(s) 31: rewind | 32: forward space filemark(s) 33: unload | 34: reverse space filemark(s) 35: load (3590 System Mode) | 36: forward space record(s) 37: return error | 38: reverse space record(s) 39: test unit ready | 43: set media parms (block size) 44: set dev parms (compression)| 46: get device information 47: restore data | 48: get medium information 49: inquiry | 50: poll registered devices | 53: space EOD 54: display message | 70: system command | 80: Force Dump 81: Read Dump | 82: Update MicroCode 83: Log Sense | 84: Get Last Sense 85: Get Version | 86: Associative/Persistent WProtect 87: Read/Write Test | 88: List registered devices 89: Get MTDevice info | 99: return to main menu | enter selection: | Figure 107. Example of Library Mode To issue SCSI commands, the device must be open. Open a SCSI device by issuing option 20 (Open) from library mode as shown previously. The device names can be obtained using command 88 (List registered devices) also shown previously. Tape device names have the format tapeN, where N is a digit, such as 0, 1, and so on. If the device driver is stopped, and then restarted without a reboot, the name is not the same as it was previously. Rather, the next unused name in the operating system is used. For example, if there is one tape device defined on the Windows system, that device is named tape0 when the device driver is started the first time. If the device driver is stopped, then restarted, the name is tape1. This behavior continues until the system is restarted. Batch Mode Batch input files can contain these kinds of statements: v Command v Comment v Delay Appendix D. Tape Utility Programs 409