NetBase for MPE Reference Guide
Chapter 5
5-52
Dataset Shadowing
Databases can be configured for shadowing so that only specific datasets are actually shadowed.
This may be accomplished quite simply. However, be sure to read the “Dataset Shadowing
Considerations” at the end of this section before doing the configuration. Configuring a database
for dataset shadowing requires the use of both the FILE command and the DSET command. The FILE
command is used to define the database and the DSET command is used to define the specific
datasets that will either be included or excluded from shadowing.
When the FILE command is issued, it must be entered with either the INCLUDE or the EXCLUDE
option specified. These options tell NetBase whether to include for shadowing only the datasets
defined with the DSET command, or whether to exclude those datasets when shadowing the
database. That is, the INCLUDE option may be used to most efficiently define just a few datasets to be
shadowed. Conversely, the EXCLUDE option may be used to define the two or three datasets that do
not need to be shadowed.
The DSET command is used to define the datasets that will be included for shadowing or excluded
from shadowing. If the DSET command is used with the RESET option, the command will delete the
dataset record from the directory. The LISTF command may be used to display the datasets defined
for a database. If the LISTF command is entered with the DSET option specified, any datasets defined
will also be displayed.
Example
For example, to shadow only the HEADERS and the DEVICES datasets in the BANNER database, first
enter the FILE command for the database on the master system:
D> FILE BANNER.DATA.NETBASE,1,3;INCLUDE
The INCLUDE option means that the datasets defined with the DSET option will be the only datasets
in the database shadowed. Next, define the datasets to be shadowed:
D> DSET BANNER.DATA.NETBASE,HEADERS
D> DSET BANNER.DATA.NETBASE,DEVICES