ARCCOPY (Copy Archive Directory)

The ARCCOPY command creates an offline copy of an archive directory for a family. You can then use this copy to make a backup for the archive directory in case the directory ever becomes corrupted. Use the ARCREPLACE command to restore the backup directory. When you enter the ARCCOPY command, if it is free of syntax errors, the system starts a visible independent runner named ARCCOPY. Use the C (Completed Mix Entries) command to find out if the ARCCOPY command has completed.

Syntax

Explanation

ARCCOPY <family name> <file title>

The family name indicates the name of the family whose directory is to be copied. The file title specifies the new name for the backup archive directory when it is copied. If the specified file title already exists, the system replaces it. Unless you use the syntax ON <family name>, the system automatically copies the archive directory to DISK.

ARCCOPY <family name> <file title> (<family index>)

The family index specifies the member of the family to which the archive directory is to be copied.

Example

The following example copies the archive directory for family PACK and uses the new name BACKUPARCHIVE/PACK. The system copies the directory to family member 1 of the family named WORKPACK.

ARCCOPY PACK BACKUPARCHIVE/PACK ON WORKPACK (1)