HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide

[Contents][Glossary][Index][Back][Next]

8.3.2 Send data UOC routine creation procedure (UNIX)

This section explains the procedure for creating a send data UOC routine with UNIX Datareplicator. The following figure shows the procedure up to the point where a send data UOC routine is executed.

Figure 8-14 Send data UOC routine's execution procedure

[Figure]

Organization of this subsection
(1) Creation
(2) Compiling and linking
(3) Notes

(1) Creation

To create a shared library for the send data UOC routine:

  1. Select the update information that is to be checked by the send data UOC routine.
  2. Create the function for the send data UOC routine.
  3. Compile and link the function for the send data UOC routine.

(2) Compiling and linking

The compiling and linking procedures are explained for each OS.

If an unresolved link error occurs, specify all libraries required during linking.

(a) HP-UX Datareplicator
(b) Solaris Datareplicator
(c) AIX Datareplicator
(d) Linux Datareplicator

(3) Notes

You can store a created send data UOC routine library in any directory. However, do not replace libhdesuoc.sl (libhdesuoc.s for the Solaris or Linux Datareplicator, and libhdesuoc.exp for AIX Datareplicator) under /opt/hirdbds/lib.

Before executing the UOC, you must specify the directory containing the send data UOC routine library (libhdesuoc.sl or libhdesuoc.so) in the node_shlibpath operand in the extraction system definition. If the send data UOC routine library is not found in the directory specified in the node_shlibpath operand, Datareplicator sends all update information.