HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
To execute a column data editing UOC routine, specify the directory path to the shared library file in an environment variable. Note that the environment variable and the shared library file to be used depend on the OS. The following table shows the environment variable and shared library file for each OS.
Table 8-34 Environment variable and shared library file for each OS
| OS | Environment variable | Shared library file |
|---|---|---|
| HP-UX (32-bit or 64-bit edition) | SHLIB_PATH | libhdscuoc.sl |
| HP-UX (IPF version), Solaris, or Linux (32-bit, IPF, or EM64T version) | LD_LIBRARY_PATH | libhdscuoc.so |
| AIX | LIBPATH | libhdscuoc.a |
If the environment variable is not specified or there is no shared library file at the directory path specified in the environment variable, Datareplicator executes import processing without using the column data editing UOC routine.
Do not conduct signal operations in a column data editing UOC routine's function.
You can manipulate only user-specific files (that are open) within a column data editing UOC routine's function. The following are the file-related rules:
Do not use the same shared memory that is used by Datareplicator or any other system.
Do not execute any SQL statement within or as an extension of the column data editing UOC routine's function. If executed, transaction management by Datareplicator might become invalid.
For the AIX Datareplicator, create all functions from hds_ucoledit1() through hds_ucoledit8(); otherwise, import processing will result in an error.
A column data editing UOC routine passes each element of the data (a single call to a column data editing UOC function passes one element data item to this UOC function). This means that a column data editing UOC routine cannot be used to increase or decrease the number of elements.
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.