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

Chapter 2
Utilities Quick Reference
FCOPY
33
FCOPY
Syntax
FCOPY FROM=filename;TO=filename[;options]
Operation
Use FCOPY to copy and translate files. The FCOPY command identifies a from file, a to file, and one or more
functions that let you convert data, copy files from other systems, append files, extract subsets of files, display
binary files in ASCII format, and other tasks.
A from file is the input file for an FCOPY command; it contains the data that you want to copy.
A to file is the output file to which you want to copy the data.
Users with SM capabilities can use FCOPY to copy files to MPE accounts outside of their current logon
account.
To accommodate the introduction of POSIX in MPE/iX, the FCOPY utility lets you copy files from HFS
directories into accounts and groups and into other HFS directories. Users with SM capabilities can use
FCOPY to copy files to MPE accounts outside of their logon account.
Keep in mind the following points when using FCOPY to work with HFS files:
If the from file or to file name begins with an asterisk (*), the file equation can resolve a filename in HFS
syntax that begins with a dot(.) or a slash (/).
If you are copying files to an HFS directory, you must first use the FILE command and specify the file
name in HFS syntax
You cannot use FCOPY to copy directories. If the from file or to file is a directory, you will see an error
message.
You cannot copy compatability mode (CM) files to HFS directories.
Additional Discussion
For more information, refer to Chapter 8, FCOPY, and to the FCOPY Reference Manual.