HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
When you have created a send data UOC routine, control is passed to the UOC routine before the source Datareplicator sends the extracted update information to the target system. When control is returned from the UOC routine, Datareplicator sends the update information to the target system in accordance with the checking results.
The following data is passed to a send data UOC routine:
Datareplicator passes update information to the send data UOC routine in units of the tables that are subject to extraction processing, as specified in the extraction definition. If multiple sets of update information are to be extracted from a single table, Datareplicator merges the update information into a single set, and then passes it to the UOC routine. For a source Datareplicator to be able to use a send data UOC routine, you must specify use in the senduoc operand in the transmission environment definition. The following figure shows the procedure for sending update information when a send data UOC routine is created.
Figure 8-12 Procedure for sending update information using a send data UOC routine
A send data UOC routine is called by Datareplicator when checking of the where clause in the extraction definition and checking for loopback suppression are completed. The following figure shows the flow of control during processing by a send data UOC routine.
Figure 8-13 Flow of control during processing by a send data UOC routine
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.