NetBase for MPE Reference Guide

Using NBDIR
4-17
DSET
The DSET command is used in data set shadowing. It works in conjunction with the FILE command
to define the datasets to be shadowed. The FILE command is used first to define a database. The
INCLUDE and EXCLUDE options on the FILE command determine whether the dataset defined by the
DSET command is included for shadowing or if the dataset is to be excluded from the shadowing.
The RESET option is used to delete a dataset entry from the directory.
Syntax
D> DSET basename,dataset[,RESET]
Parameters
Parameter Description
Basename
A fully-qualified IMAGE file name that already exists in the
directory.
Dataset
The name of a dataset that is part of the database defined by
filename.
RESET
If specified, the specified dataset entry will be deleted from the
directory.
Example
In the following example we want to shadow only the HEADERS and the DEVICES datasets in the
BANNER database. First, enter the FILE command for the database:
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
E> DSET BANNER.DATA.NETBASE,DEVICES