PCFORMAT User's Guide

COPY Command
COPY Command
066374 Tandem Computers Incorporated 3–3
COPY Command The COPY command converts a Tandem database file with a record
structure defined by <record name> into a unstructured file named
<output file> with the specified <format>.
PCFORMAT [/OUT ,error file>/]
COPY (FORMAT <format> [,options])
<transfer specification>
where,
FORMAT <format>
selects the format of the output (intermediate) file. <format> can be
ASCII, BASIC, DIF, or SYLK, and one and only one must be selected.
<transfer specification>
consists of the following pair:
<record name> AS <output file>
<record name>
specifies the name of the record in the database dictionary
defining the file type, record fields, and key fields of the
database file to be converted. If the database file is not named
explicitly with the DATAFILE option or a COMINT ASSIGN
command, the file named in <record name> is converted. In
this case, if no file is associated with <record name>,
PCFORMAT terminates with an error message.
<output file>
is the name of the unstructured intermediate file containing the
formatted output. <output file> must be a valid Tandem file or
process name and may include a system, volume, and/or
subvolume name (e.g. \SYSTEM.$VOL.SUBVOL.FILE).