The T-READ command reads a tape record from tape, then displays its contents on the screen or sends the contents to the printer. This command does not restore the record to disk drive. T-READ lets you look at the contents of a tape, either generally or to locate a specific file.
Format
T-READ [(options)] |
Parameter(s)
options |
Can be any of the following: |
|
n |
Number of records to read and display. If you do not specify n, records are read and displayed until an end-of-file mark is reached. |
|
n-m |
Specifies a range of records. |
|
A |
Converts from EBCDIC to ASCII, then displays alphanumeric segments. |
|
P |
Sends the display to the printer. |
|
S |
Prevents the tape cartridge from rewinding to the tape label. This option can be used only on a 1/4-inch tape drive. |
|
X |
Displays tape contents in hexadecimal format as well as in character format. |
Description
On 1/4-inch tape drives, the first element T-READ displays is the tape label. If the tape is not positioned at the label, T-READ rewinds the cartridge to the label before it reads the tape. Use the S option to read the tape without first rewinding to the tape label.
A T-READ Display in Character Form
>T-READ (1)
L 4200 15:33:14 dd mmm yyyy DATA SYSPROG FILE-SAVE Y Y ~01
RECORD = 1
1 _D^1^2^0025SYSPROG^D^3227^7^^^^^SYS3^LQU^10^_D^2^3 51 ^001DNEWAC^D^3234^1^^^^^^L^10^_D^3^4^001DNEWAC^D^3 101 235^3^^^^^^L^10^_I4^CA3^002DBLOCK-CONVERT^Q^BLOCK- 151 CONVERT^^^^^^^L^10^_I4^CA3^000FRTD^P^20A0^_I4^CA3^ 201 000CDATA^CZ^_I4^CA3^000FDTR^P^10A0^_I4^CA3^0019*A1 251 0^A^10^^^^^^^L^10^_I4^CA3^0011MULD^PM^40A0^_I4^CA3 301 ^0014T-LOAD^PT^35^73^_I4^CA3^0016SAMPLE^PB^35^2245 351 ^_I4^CA3^0015BASIC^P^2^BE^^UP^_I4^CA3^000AEQ^CC^_I 401 4^CA3^0015GET-LIST^PL^1064^_I4^CA3^000CEACH^C3^_I4 451 ^CA3^001FDELETE^PQ^(PROCLIB DELETE)^_I4^CA3^0016CA 501 TALOG^P^2^E0^^N^_I4^CA3^001ASSELECT^PB^35^4E^3076^ 551 _I4^CA3^00189^A^09^TYP^^^^^^L^2^_I4^CA3^000ANE^CD^ 601 _I4^CA3^0022D/CODE1^A^1^CODE^^^^^T1,1^L^4^_I4^CA3^ 651 0017T-FWD^PI^6033^9023^_I4^CA3^000EOFF^PZ^32^_I4^C 701 A3^0015COUNT^PB^35^1069^_I4^CA3^0011TERM^PZ^607A^_ 751 I4^CA3^000DUSING^CG^_I4^CA3^0023EXCHANGE^PQ^(PROCL 801 IB EXCHANGE)^_I4^CA3^0025LISTVERBS^PQ^(PROCLIB LIS 851 TVERBS)^_I4^CA3^0018REPT^PA^1257^4D^254^_I4^CA3^00 901 1ESIZE^A^9999^^^^^^MR0^R^10^_I4^CA3^0015SP-STATUS^ 951 P^50A6^_I4^CA3^0011TIME^PZ^3033^_I4^CA3^0019*A13^A |
A T-READ Display in Hexadecimal Form
>T-READ (X)
L 4200 15:33:10 dd mmm yyyy DATA FILE-SAVE Y Y ~01
RECORD = 1
0000 FF44FE30 FE31FE30 30323653 59535445 0 :_D^0^1^0026SYSTE: 0010 4DFE44FE 33323030 FE3237FE FEFEFE42 16 :M^D^3200^27^^^^B: 0020 39464335 394436FE FE4CFE31 35FF5843 32 :9FC59D6^^L^15_XC: 0030 20202020 20202020 20202020 20202020 48 : : 0040 20202020 20202020 20202020 20202020 64 : : 0050 20202020 20202020 20202020 20202020 80 : : 0060 20202020 20202020 20202020 20202020 96 : : 0070 20202020 20202020 20202020 20202020 112 : : 0080 20202020 20202020 20202020 20202020 128 : : 0090 20202020 20202020 20202020 20202020 144 : : 00A0 20202020 20202020 20202020 20202020 160 : : 00B0 20202020 20202020 20202020 20202020 176 : : 00C0 20202020 20202020 20202020 20202020 192 : : 00D0 20202020 20202020 20202020 20202020 208 : : 00E0 20202020 20202020 20202020 20202020 224 : : 00F0 20202020 20202020 20202020 20202020 240 : : 0100 20202020 20202020 20202020 20202020 256 : : 0110 20202020 20202020 20202020 20202020 272 : : 0120 20202020 20202020 20202020 20202020 288 : : 0130 20202020 20202020 20202020 20202020 304 : : |