HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
Do not conduct signal operations in an import information editing UOC routine's functions.
Do not use the same shared memory that is used by the target Datareplicator or by any other system.
If hds_uedit() passes COMMIT and its return value is 0 or 4, Datareplicator assumes that one synchronization point was completed. If the import information editing UOC routine's process is aborted due to an error, restart takes place at the synchronization point immediately following the previous synchronization point. You must code the processing in the import information editing UOC routine's functions so that synchronization point processing occurs when COMMIT is passed and so that no duplicate processing occurs when processing is restarted after an abnormal termination.
When you create a UOC routine that accesses a database, use the hds_uend() editing termination function to reference the termination information flag (stopinf) in the interface block (UINTERFACE_BLK). If the termination information indicates forced termination, create the UOC routine so that it executes ROLLBACK on the database system, and then executes DISCONNECT. If the UOC routine executes DISCONNECT without executing ROLLBACK, update processing up to the point of forced termination will be committed by automatic commitment of DISCONNECT. The next time Datareplicator is restarted, there will be an inconsistency in the database and the UOC routine will result in an SQL error.
The notes provided here apply to when you create a new import information editing UOC routine.
If you are using an existing import information editing UOC routine, re-link the executable file of the import information editing UOC routine. In this case, verify that the existing import information editing UOC routine does not violate the notes provided here. For details about the linkage procedure, see 8.1 Import information editing UOC routine. If you do not link the programs, an audit trail will be collected.
Table 8-22 Owner and access permissions for an import information editing UOC routine
| Owner and access permission | Information to be specified | |
|---|---|---|
| Owner | User ID | HiRDB Datareplicator administrator |
| Group ID | HiRDB administrator's group ID | |
| Access permission | Owner | r-x (read and execute permissions) |
| Group | --- (Not accessible) | |
| Other | --- (Not accessible) | |
Because there is no permission to write files, if you re-create the executable files of the import information editing UOC routine, delete the existing executable files, and then create the new executable files.
A table for which a referential constraint has been defined cannot be specified in an import information editing UOC routine.
If you will be using the extended syslog facility, re-link the UOC routine by using the linkage procedure described in 8.1.2 Creating an import information editing UOC routine (UNIX).
If the UOC routine is not linked as instructed, the extended syslog facility will not be applicable to syslogfile that is output for the import information editing UOC routine.
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.