NetBase for MPE Reference Guide

Chapter 10
10-4
NetBase DBGENERAL Interface
This interface is used in shadowing environments and allows for DBGENERAL database changes
that are performed on the master system to be automatically sent to the shadow system and be
performed on the shadow copy of the data.
When DBGENERAL is run, the input is captured and applied to the master system. Once
DBGENERAL has successfully completed the changes on the master system, NBGENERAL writes
all of the DBGENERAL commands into the shadow transport file, NBM.IPC.NETBASE, and sends
them to the shadow system.
When the posting process, NBPOST, receives the DBGENERAL commands, it automatically puts
the database into a queue state. NBPOST then invokes DBGENERAL on the shadow system to make
the same changes as were made on the master. Once the DBGENERAL changes complete
successfully, NBPOST does a roll forward on the database.
Requirements
DBGENERAL must be installed on both the master and shadow systems
DBGENERAL Version 7.01.02 or later
NetBase 9.7
Syntax
:NBDIR.PUB.NETBASE
D> PROGRAM NBGENRL.PUB.NETBASE;NONB
D> PROGRAM @.PUB.BRADMARK;NONB
D> EXIT
To use DBGENERAL:
1. Run DBGENRL.PUB.BRADMARK on the master machine and input changes.
2. NetBase will automatically perform the same changes on the shadow machine