NetBase for MPE Reference Guide
Using NBDIR
4-53
SHADOW
The SHADOW command adds shadow records to NetBase's directory. The shadow record defines
shadowing for a file that is already defined in the network. SHADOW records are entered on the
shadow system only.
The posting processes uses the shadow record when opening the file for updates and to mark the
status of updates to the shadow file. Turn to Chapter 5 “NetBase Shadowing” for more information
on how these records are used. This command requires NODE MANAGER (NM) or SYSTEM MANAGER
(SM) capability.
Syntax
D> SHADOW filename[=copyfilename][;option[;option[;...]]]
[;DBX ]
[;LOG ]
[;MODE1 ]
[;MULTISYS]
[;OVERRIDE]
[;USEREXIT]
[;PASS=____
Parameters
Parameter Description
filename
The name of the shadow file as it is passed to the posting process. The
file name must already exist in a file record in the directory or be
covered by a wildcard entry in the directory.
copyfilename
If specified, this is the actual name of the shadow file.
DBX
Only required if TPS shadowing is not used and dynamic transactions
are used within the application on the master. Turn to the “Shadowing
with Dynamic Rollback Recovery” section in Chapter 5 for
implementation steps.
LOG
If specified, all updates to the shadow file will be logged to a post log
file. Requires the node configuration parameter SHADOW - Enable Post
Logging be set to Y.
MODE1
If specified, the shadow copy will be opened in shared access mode for
the posting of updates.
Continued