t-read Command

The t-read command reads from the magnetic media unit attached to the current process and displays the contents of each block read to the terminal or printer. Any type of Pick-formatted media may be read with this command.

Syntax

t-read {options}

Parameter(s)

options

block.number{-block.number}

Reads a specific number of blocks or a range of block numbers and specifies a range of blocks.

  • block.number specifies the number of blocks to read.

  • block.number-block.number specifies a range of blocks. Blocks are counted from the current position of the tape. If the entire option is omitted, all tape blocks up to the next EOF are read.

a

Converts EBCDIC format to ASCII.

h

Allows reading from non-Pick tapes without a Pick label and reading the first block on the tape.

n

No pauseā€”suppresses the pause at the end of each page on the terminal.

p

Directs output to the system printer via the spooler.

x

Displays in hexadecimal format.

Example(s)

t-read

L 01F4 16:12:28 16 Jan 2003 Tape Label

RECORD = 1

1 FORMATC^****...

51 ****...**^* THIS PROGRAM FORMATS A P

.

.

.

[94] END OF FILE

See Also

save Command, t-dump Command, t-load Command, t-rdlbl Command, t-weof Command, Tape Handling Commands, Tape Label