| set-half | Index Level | set-sct-dma |
| Syntax | set-sct {(blocksize)} |
| Category | Tape |
| Type | Verb |
| Description |
attaches the streaming cartridge tape drive to the current process. This must be executed before any other tape handling commands.
Specifies a 1/4-inch streaming tape unit as the peripheral storage device. "set-sct" automatically specifies a tape-attach command (t-att) and a rewind (t-rew). "blocksize" may be any value between 512 and 16384. The default is 16384. The block size must be a multiple of 512. Make sure the hardware is present for a 1/4-inch drive. Otherwise, the port may wait forever. If only one density is available then it is used. The default is high density. To improve reliability of Streaming Cartridge Tapes (SCT's), it is strongly advised to retension the tape prior to performing any tape input or output operations. (see "t-ret" or "t-reten"). On D3/Unix systems, this verb is provided for compatibility. (see "set-device"). |
| Options |
l Low density, if available.
h High density, if available. m Assigns number of buffers using the total real memory minus 256K or 768 buffers, or 384K on a 640K system. Pick Systems strongly advises using this option to increase tape streaming and decrease the number of stop/starts, which decreases tape reliability. (R83) 3.1 only. r Indicates that the tape is in "old" format, meaning that it was created on a release prior to 2.2. (R83) 2.2 and higher s Standard density, if available. |
| See Also | t-erase (R83) t-rew t-stat t-status t-select t-att set-device list-device account-save file-save sel-restore account-restore restore-accounts tape handling verbs WRITET READT set-sct-dma :files ue070 config tape dummy restore set-sct |
| Example | |
| Warnings |
(R83) Pick XT only:
set-sct {buffers} {({blocksize}{r}} The "buffers" parameter indicates the number of 512-byte buffers to assign for the tape buffer. The default (and minimum is 128. The maximum is a function of how much memory is present on your system. Up to half of the memory may be allocated. For instance, if the system has 640kb of main memory, the maximum number of buffers is 640 (640/2 x 512-byte buffers). If the blocksize is omitted, it defaults to 16384. The block size must be between 512 and 32500, and be a multiple of 512. On D3/Unix implementations, if there are more than one SCT devices, or one SCT with multiple densities, the "set-sct" commands selects the first device which appears in the list produced by "list-device". To select another SCT or another density, the "set-device" command must be used. |
| Compatibility | D3 7.0 AP R83 |
| set-half | Index Level | set-sct-dma |