NetBase for MPE Reference Guide

Using NBDIR
4-19
FILE
The FILE command identifies a file for NetBase. The parameters on the FILE command change how
NetBase treats the file. One function of the command is to enable access to files on a remote
computer for local processes. Another is to identify files to be shadowed, ensuring data integrity.
The formal file name, or the local reference, is the name of the file as it is referenced by local user
processes. If the file is mapped to another computer, the remote name, or remote equivalent, is the
name of the file that is actually opened by NetBase. This may be, and usually is, the same as the
local reference. The remote name need only be specified when it differs from the local reference.
If the file is shadowed, the file that is opened by NetBase may be the master copy or the shadow
copy, depending on the access mode and on whether the LOCAL option or the MASTER option was
specified in the file command. The location of the master copy is designated by the first node listed.
Shadowed copies are designated by listing the nodes that the file is to be shadowed on after the
master node. The node can be specified either by system name or node number.
Limited wildcard use is available. The file name or group name can be replaced with an @. This
allows entire groups and/or accounts to be re-mapped with a single file equation. Since NetBase
first checks its directory for specific files, the @ specification can be overridden using specific file
names.
The file directory entries can be listed using the LISTF command. The different options, that may or
may not be included in the file command, are listed in the display along with the file. This
command requires NODE MANAGER (NM) or SYSTEM MANAGER (SM) capability.
The following table lists the FILE options and which process to use them with.
General NFA Shadowing (master) Shadowing (shadow)
LOGONLY ALT= CLOSE DUALACC
NOLOG UPDPASS= EXCLUDE LOCAL
MAP READPASS= INCLUDE LOCALACC
BUFONLY IMAGELOG MASTER
INFO NOKFILES READ
NOPEND SYNC LOCK
SHADOW
SYNCERR=FAIL
SYNCERR=REMOTE