HPlogo MPE/iX System Utilities Reference > Chapter 8 FCOPY

Chapter 8 FCOPY

MPE documents

Complete PDF
Table of Contents
Index

Table of Contents
Operation
"From" and "To" Files
FCOPY Functions
Defining Files
General Guidelines for FCOPY Commands
Using FCOPY with KSAM Files
Additional Discussion
You use the FCOPY utility to copy and translate files. The FCOPY command identifies a from file, a to file, and one or more FCOPY functions. Some of the functions you may perform include:
  • converting data

  • copying files from other systems

  • appending files

  • extracting subsets of files

  • displaying binary files in ASCII format

  • copying byte-stream files

A from file is the input file for an FCOPY command; it contains the data you want to copy. A to file is the output file to which you want to copy the data. They are the only two options that you must specify.

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.




Chapter 7 Operation


Chapter 8 Operation