FCOPY Reference Manual (32212-90008)
Chapter 3 49
FCOPY Applications and Examples
Copying Inactive Records
Copying Inactive Records
The file system marks inactive records in relative I/O (RIO) and in message files. Normally
when you copy such a file, FCOPY does not copy inactive records.
To copy exactly an RIO or message file, including inactive records, follow these steps:
1. Specify NOBUF and COPY in FILE commands describing both the fromfile and tofile. For
example,
>:FILE OLD;NOBUF;COPY
>:FILE NEW;NOBUF;COPY
2. Backreference the FILE commands with an asterisk before the fromfile and tofile
names. For example,
>FROM=*OLD;TO=*NEW