Alternate key files, License and progid file attributes, Example 1 – HP Integrity NonStop J-Series User Manual
Page 44
One-time Synchronization
HP AutoSYNC User’s Guide—522580-017
3-6
Alternate Key Files
LICENSE and PROGID File Attributes
Files that have the LICENSE or PROGID attribute set are synchronized but the setting
of these attributes are not carried over to the destination file set. Refer to
Security Attributes on the Destination
on page 3-19 for a method to preserve these
attributes.
Alternate Key Files
You can synchronize a file and its alternate key files by using AutoSYNC, but you
should consider the following:
•
Since the file and alternate key files are separate files, AutoSYNC does not
coordinate their synchronization. Thus, for a short time, you might have an updated
base file but not the alternate key file, or vice versa.
•
The file label must be updated by RESTORE through the MAP NAMES parameter
which occurs if the file and alternate key file are in the same AutoSYNC file set.
The file and alternate key file are in the same AutoSYNC file set when:
•
The source file and alternate key files are on a single volume, or
•
The file and alternate key files are synchronized to identically named volumes
on the destination system.
If the base file and alternate key files are on different volumes and are synchronized to
differently named volumes on the destination system, use the MAPNAMES option to
specify the mapping of the source name to the destination name. The MAPNAMES
option supplies the information required by RESTORE to update the file labels.
Example 1
File $DATA.DB.ACCT has one alternate key, $DATA.DB.ACCTAK. The following
command synchronizes both the file ACCT and its alternate key ACCTAK to
$BACKUP.DBBACK on the destination system:
Note that no MAPNAMES file is required.
Note. When synchronizing a single file or table that has an alternate key or alternate index,
you must specify the destination file set with an asterisk (*) in the filename portion. If the
destination is a single file name, the synchronization fails with an error 13, invalid file name.
SYNC $DATA.DB.ACCT* to \DEST.$BACKUP.DBBACK.*;