User's Reference > Operation > Tape Operation and Commands > Tape Commands > TAPETODISC

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

TAPETODISC (Tape) (m604909+tapetodisc.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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.

RealityV15.0Comment on this topic