PCFORMAT User's Guide

Running PCFORMAT
Operation
2–4 066374 Tandem Computers Incorporated
Specifying Database File in
COPY Command
The database file associated with the named record in the dictionary is not
used by the COPY command when a file is named explicitly with the
DATAFILE option. For example:
:PCFORMAT COPY (FORMAT DIF, DATAFILE LOG) NEWREC
AS DATA.TEMP
converts the database file LOG into DIF format using the record description
NEWREC. The new output file is named TEMP on the DATA subvolume.
Specifying Database File
With ASSIGN Command
The COMINT ASSIGN command can be used to specify the database file
for conversion. For example:
:ASSIGN OLDREC, LOG
:PCFORMAT COPY (FORMAT SYLK, NOHEADING) OLDREC AS
$DS.TP.TEMP1
the ASSIGN command assigns file LOG to record OLDREC. The COPY
command then converts file LOG to SYLK format using the OLDREC
record description. The output file is named TEMP1 on the TP subvolume
of disk volume $DS. The NOHEADING option suppresses the headings
defined in the OLDREC record from the first line of TEMP1.