NetBase for MPE Reference Guide

Chapter 5
5-14
Third Party Shadowing (TPS) for TurboIMAGE databases
Hewlett Packard has added TPS (Third Party Shadowing) to IMAGE. This means that for every
IMAGE DBPUT, DBUPDATE or DBDELETE NetBase will be called from within the IMAGE
transaction. The advantage to NetBase is that the write to the NBM file is a part of the IMAGE
transaction. The NetBase TPS procedures are in an XL named XLNETBSE.PUB.SYS. The file is
created during the NetBase installation job.
Application
Application
DBPUT
DBPUT
NetBase
NetBase
DBPUT
DBPUT
IMAGE
IMAGE
NBPUT
NBPUT
XLNETBSE.PUB.SYS
XLNETBSE.PUB.SYS
NBM File
NBM File
1
1
2
2
4
4
5
5
Database
Database
3
3
DBUTIL has been changed to make it possible to enable or disable a database for TPS. If TPS is
enabled on a database, but the database is not in the NetBase directory, shadowing will not occur. If
a database is in the NetBase directory, but it is not enabled for TPS, shadowing will occur as it did
in previous versions of NetBase. The NetBase shell will capture the transactions and write them to
the NBM file.
The first time that a database is enabled for TPS, it must be enabled programmatically via a utility
called NBTPSUTL. The utility, NBTPSUTL, will TPS enable the database specified in the INFO string,
or TPS enable all the databases listed in a file that is specified in the INFO string. This utility only
enables a base for TPS. After a database has been enabled via the NBTPSUTL program, DBUTIL must
be used to disable a database for TPS. DBUTIL can also be used to re-enable it.