TAPETODISC
Reads data from tape to disk, creating a file item for each tape block. Any type of data can be written, including binary data.
Note
This command is provided for compatibility with earlier versions of Reality. Tape images provide similar functionality.
Command Class
TCL-II command.
Restrictions
Executes on the default channel only.
Tape input cannot exceed one reel.
TAPETODISC does not support tape records larger than 32Kbytes.
Syntax
TAPETODISC file-specifier {(options}
Syntax Elements
file-specifier is the identity of the file to be written to.
Options
F Outputs "#" at each tape file boundary.
H Converts binary to hexadecimal on input.
I Lists item-ids to the screen.
Comments
Before using TAPETODISC, you must attach the required tape units to the port using the default channel.
Labels are transferred unaltered. If required, the database file can be saved and restored on a remote database. Each item-id comprises four digits of file number followed by six digits of block number, each one right-adjusted and zero filled.
Examples
TAPETODISC TAPESAVE
The blocks of the attached tape are written to file TAPESAVE.
TAPETODISC TAPESAVE (H
The blocks of the attached tape are written to file TAPESAVE and hexadecimal data is converted to binary.
TAPETODISC TAPESAVE (I
The blocks of the attached tape are written to file TAPESAVE and the item-ids are displayed on the screen.