MPE/iX System Utilities Reference Manual (32650-90882)

112 Chapter8
FCOPY
Operation
Defining Files
If you are copying files from or to devices other than disk, you must define the files and
their associated devices with the FILE command before issuing an FCOPY command. For
example, to copy a file from magnetic tape to a line printer, define two device files as
follows:
FILE TAPEFILE;DEV=TAPE;REC=-80,25,F,ASCII
FILE PRINTER;DEV=LP
TAPEFILE and PRINTER are the formal file designators you use in the FCOPY command.
TAPE and LP are device class names for a magnetic tape unit and a line printer
respectively. Device class names are defined when the system is configured and may vary
from one installation to another.
You may use the two formal file designators as the "from" and "to" files in an FCOPY
command. Type an asterisk (
*
) before each file name to tell FCOPY to refer to the previous
FILE command for the file's description. The FROM and TO parameters below reference the
two files defined above:
FROM=*TAPEFILE;TO=*PRINTER
FCOPY assumes files to have default characteristics unless you define the files with other
characteristics. For more information on the FILE command, refer to the MPE/iX
Commands Reference Manual.
KEY Specifies a key sequence in which to copy a KSAM file.
NEW Creates a new permanent disk file.
NOCCTL Specifies that the first character of each record in the "from" file will not be
a carriage control character.
NOKSAM Copies a
compatibility mode
KSAM data file to a non-KSAM file.
NOUSERLABELS Omits user labels when copying between disk and tape.
OCTAL Displays the contents of a file in octal form.
SKIPEOF Positions a serial storage device at a desired file.
SUBSET Copies a subset of a file.
UPSHIFT Converts lowercase characters to uppercase.
VERIFY Compares files after copying.
Table 8-1. FCOPY Functions
Function Description