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

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

8.3.6 Sample send data UOC routine

This section explains the sample UOC routine that is stored in Datareplicator.

Organization of this subsection
(1) Storage directory and filename
(2) Contents of the source file
(3) Sample library creation procedure

(1) Storage directory and filename

Directory
UNIX Datareplicator: /opt/hirdbds/lib/sample/
Windows Datareplicator: Datareplicator-installation-directory\sample\

Filename
hde_uocsample.c

(2) Contents of the source file

The sample send data UOC routine is created on the basis of the following specifications:

(3) Sample library creation procedure

The following example creates a sample library for HP-UX:

$ cc -c +z -I/opt/hirdbds/include hde_uocsample.c
$ ld -b -o libhdesuoc.sl hde_uocsample.o