Edit
The EDIT command invokes the file editor. The file editor can be used to create or modify ASCII files on the
RAM DISK.
A file name parameter is needed. The asterisk cannot be used. Only the RD (RAM DISK) can be used. If a
file extension is not included, the .PDL extension is used.
This command cannot be used if the editor, the MEMORY DEBUG and PROGRAM EDIT functions or the EZ
environment are active. Also, the controller cannot be in a FATAL status and system, memory and
programme protection must be off.
Syntax: FE <file_name>
Print
The PRINT command sends files from a storage device to a display device or printer.
A file specification parameter is required. The asterisk can be used for the file name and extension. If a de
-
vice is not specified the default device is used.
PDL2 programme (.COD or .BKC) and variable (.VAR or .BKV) files are converted into ASCII format before
printing. All other files are assumed to be in ASCII format.
The destination device can be the programming terminal display or the PC screen, a file, communication port
or a user-defined window. If no destination device is specified, the device from which the command was is
-
sued is used. Printers must be properly connected to one of the communication ports using the UTILITY
COMMUNICN MOUNT command issued beforehand.
In the case of a Filer Print command specifying a .VAR file and a destination file .LSV a back-up file is cre-
ated with .BKL for that .LSV file. If no destination device is specified, the .VAR file is printed on the screen.
If a .COD file contains checksum errors or other damaged data and it is not possible to recover a backup
copy of the file, use the FILER PRINT command to convert the programme into an ASCII file and send it to
the RAM DISK. The ASCII file can then be edited to correct the corrupted instructions and identifiers, which
will be identified by three question marks (“???”). Then use the FILER TRANSLATE command to convert the
file back into a .COD file.
Options: /Full prints a variable file without truncating the names of variables, programmes, rou-
tines
and data classes.
/List generates a listing file (.LIS) from a .COD or .BKC file.
Listing files contain the programme name and the line number at the side of each
PDL2
instruction.
/Overwrite overwrites existing files in the Ram Disk without prompting for confirmation.
/Nopage
/Range allows printing of the lines of the file included between the serial line and the
end
line specified as additional parameters.
Syntax: FP <file_name> <dest_device>
FP/L <file_name> <dest_device>
FP/N <file_name> <dest_device>
FP/R <file_name> <dest_device> <start_line> <end_line>
OPERATOR INTERFACE C3G Plus
3-34 03/0499
FILER COMMAND