AutoSYNC Software User's Guide (Update 17)

One-time Synchronization
HP AutoSYNC User’s Guide522580-018
3-9
Partitioned Files and Tables
PARTONLY synchronization of single partitions is not supported. An error message is
generated if a secondary partition is specifically selected to be synchronized.
When selecting a partitioned file for synchronization, AutoSYNC retrieves the
aggregate modification time to compare source and destination modification times. If
any partition of the source file is newer than the equivalent partition of the destination
file, the entire partitioned file is synchronized.
If source partitions are synchronized to identical volume names on the destination,
specify the synchronization as:
Identical name mapping is implied and no MAPNAMES file is required.
If some of the source partition volume names are different on the destination, use the
MAPNAMES option to describe the mapping of the secondary partition names.
Changing Primary Partition Mapping
AutoSYNC does not use MAPNAMES directly. The entries are only used by the
RESTORE MAP NAMES option. As a consequence, you cannot change the mapping
of the primary partition (or any other) file name using an entry in the mapnames-file.
For example, if you want to synchronize the primary partition $DATA01 of a partition file
to $BACK01 on the destination, the mapping of the volume names must appear in the
command. AutoSYNC does not see the mapnames-file entry and assumes the
destination file is on $DATA01, and the following command will yield incorrect results:
Instead, first specify:
Then specify the volume mapping for the remaining secondary partitions in the
mapnames-file.
SYNC $DATA.DB.PARTFILE TO \<syst>.*.*.*;
Note. To avoid errors, it is recommended that the mapnames file contain an entry for
every secondary partition volume, even for the secondary partitions with names that
are identical on the source and destination.
SYNC $DATA01.DB.PARTFILE TO \DEST.*.*.*, MAPNAMES mapnames-file;...
where mapnames-file has entry:
$DATA01.*.* TO $BACK01.*.*
SYNC $DATA01.DB.PARTFILE TO \DEST.$BACK01.*.*, MAPNAMES mapnames-file...;