File and catalog name mapping using mapnames – HP NonStop G-Series User Manual

Page 48

Advertising
background image

One-time Synchronization

HP AutoSYNC User’s Guide522580-016

3-10

Partitioned Files and Tables

Partitioned file

To synchronize the partitioned file $DATA*.DB.PARTFILE to different subvolume and
file names $DATA*.BACKDB.BACKFILE, the command must specify the primary
partition mapping,

and the mapnames file must contain an entry for each secondary partition, as follows:

File and Catalog Name Mapping using MAPNAMES

The

MAPNAMES mapnames-file

option mentioned throughout the preceding

paragraphs is used to specify the mapping of a source file set to a destination file set
and for catalog name mapping.

The mapnames-file is an edit or entry-sequenced file, located on the destination
system.

File name mapping

The mapnames-file entries are similar to, but not exactly the same as, the MAP
NAMES option of RESTORE. Each line of the MAPNAMES file contains a single
mapping of the form:

The file name can be partially qualified; AutoSYNC replaces the missing portion of the
name with the wild card asterisk(*). For example, the following entries:

are equivalent to:

By default, name mapping is performed by RESTORE with the assistance of the
default MAP NAMES clause provided by AutoSYNC. The default clause is:

SYNC $DATA01.DB.PARTFILE TO $DATA01.BACKDB.BACKFILE, MAPNAMES mapnames...;

$DATA02.DB.PARTFILE TO $DATA02.BACKDP.BACKFILE

$DATA03.DB.PARTFILE TO $DATA03.BACKDP.BACKFILE

...so on...

source-file-pattern TO destination-file-pattern

$DATA TO $BACK
\NEWYORK.$DATA*.DB TO $BACK.BACKUPDB
$DATA*.DB.PARTFILE TO \TOKYO.*

\SOURCE.$DATA.*.* TO \DEST.$BACK.*.*
\NEWYORK.$DATA*.DB.* TO \DEST.$BACK.BACKUPDB.*
\SOURCE.$DATA*.DB.PARTFILE TO \TOKYO.*.*.*

MAP NAMES ( source-file-set TO dest-file-set,
source-system.*.*.* TO dest-file-set )

Advertising
This manual is related to the following products: