Previous Topic: Delete a DestinationNext Topic: Create a Mapping Rule


Mapping Rules

When you create each destination, you define the staging data sets or USS directories that are built for each ship request to that destination. You must also create one or more mapping rules for each destination. A mapping rule maps production data sets or USS directories at the host to corresponding production data sets or USS directories at the remote site as follows:

When creating mapping rules, consider the following factors:

Host data set name mask

Remote data set name mask

HOST.*.LOADLIB

REMOTE.*.LOADLIB

HOST.*.*.*

REMOTE.*.*.*

Host path name mask

Remote path name mask

/host/*/loadlib/

/remote/*/loadlib/

/host/*/*/*/

/remote/*/*/*/

Host data set name mask

Remote data set name mask

TESTAP.*.*

PROD.AP.*.*

This mapping rule would result in the following remote data set being built for the following host:

Host data set

Remote data set

TESTAP.PROGRAM.LOADLIB

PROD.AP.PROGRAM.LOADLIB

Host data set name mask

Remote data set name mask

TESTAP.*.*

PROD.*

This mapping rule would result in the following remote data set being built for the following host:

Host data set

Remote data set

TESTAP.PROGRAM.LOADLIB

PROD.LOADLIB

Host data set name mask

Remote data set name mask

PRODAP.*.*

PRODAP.*.*.REMOTE1

This mapping rule would result in the following remote data set being built for the following host:

Host data set

Remote data set

PRODAP.A.B

PRODAP.A.B.REMOTE1

Host path name mask

Remote path name mask

/prodap/*/*/

/prodap/*/*/remote1/

This mapping rule would result in the following remote data set being built for the following host:

Host path

Remote path

/prodap/a/b/

/prodap/a/b/remote1/

Input data set

Matching host data set name masks

TESTAP.PROGRAM.LOADLIB

 

TESTAP.*.LOADLIB

TESTAP.*.*

*.*.LOADLIB

Note: The Shipment Activity Report created at run time lists the remote data set name for each host data set, with the mapping rule that was used to generate it. A DSN cross reference data set is also shipped to the remote site.