NetBase for MPE Reference Guide
Chapter 5
5-38
User Exits
Two types of user exits are available: export user exits or post user exits. Export user exits can be
used to preprocess data before sending it to shadow system or to implement selective shadowing
based on the value of the data. Post user exits are called by the posting process prior to writing to
the shadow copy. They can be used to implement custom shadowing where a single transaction can
be used to update multiple files.
Master System
Master System
Shadow System
Shadow System
NetBase Background Job
NetBase Background Job
NetBase Background Job
NetBase Background Job
NBEXPORT
NBEXPORT
Export
Export
User Exit
User Exit
NBIMPORT
NBIMPORT
NBM.IPC
NBM.IPC
NBPOST
NBPOST
Iqueue Files
Iqueue Files
Post User
Post User
Exit
Exit
Shadow Copy
Shadow Copy
Export User Exits
Export user exits are procedures called by the NetBase shadow exporting process NBEXPORT to
allow processing of shadow data beyond the normal shadowing processes. To use the export exit
facility, the configuration parameter SHADOW - Export User Exits must be enabled.
The procedure called by NBEXPORT must be named EXPORTEXIT. Currently, the user exit procedure
must be in either the XL.NB.NETBASE, XL.PUB.NETBASE or XL.PUB.SYS libraries. The user exit
procedure will be dynamically loaded by the NBEXPORT program when needed. In order to update
the user exit procedure, exporting must be stopped to unload the procedure.