NetBase for MPE Reference Guide

Using NBDIR
4-23
Parameter Description
SYNC
This option is only applicable for IMAGE files. It must be specified
if item level locking (DBLOCK modes 5 and 6) is used on the file. It
guarantees synchronization of all updates to shadowed files.
SYNCERR=FAIL
This option is only applicable to shadow files. It causes NetBase to
disable all access to the shadow file if the file loses synchronization
with its master copy.
SYNCERR=REMOTE
This option is only applicable to shadow files. It causes NetBase to
open the master file when the shadow file loses synchronization
with its master copy.
UPDPASS=password
Defines a specific password for NetBase to use when opening a
remote database for update access. Causes NetBase to use the
defined password instead of the password specified by the user
process. The password is case sensitive.
NFA Example
To set up an entry for NFA:
D> FILE OPCUST.DATA.DIST,FOX
This makes it possible for local processes to access file OPCUST.DATA.DIST on node FOX. The actual
file can have a different name than the local reference:
D> FILE AP.DATA.PROD=AP.DATA.ACCTNG,FOX
Shadowing Example
To specify a file that is to be shadowed:
D> FILE ARCUST.DATA.CUST,FOX,VIXEN
The master copy of ARCUST.DATA.CUST is on node FOX and it is shadowed to node VIXEN.