XYGATE
®
Data Protection
™
Reference Manual
Chapter 5. Resolving Issues that can Occur when Installing the XDP Library
XYPRO Technology Corporation
25
Proprietary and Confidential
If the error you received from the macro sent you to this section, then you cannot
combine the XDP library with your native-mode code 800 library or object. You must
rebuild that object using the original link files and combine those link files with one of
the link files provided with XDP. Refer to
section 5.4.2
for more information.
5.4
Manually Combining Application Libraries with XDP Libraries
when Procedure Names Collide
If the XDP library attaching macro fails because of a procedure name conflict, you
must resolve the conflict manually and then build your own library using binder or ELD.
Below are some sample bind and ELD commands that you can use as starting points
to build your own scripts. These scripts only show how to combine libraries so that the
XDP procedures are called first. For commercial products such as Oracle GoldenGate
software and other supported intercept libraries, use the supplied macros described in
that come with XDP for this purpose.
5.4.1
Sample Bind Script when the XDP Library Procedures will come
First, Object Code 100 Programs
Bind is used for object code 100 files.
The application’s object is assumed to be
applib
.
The first set of instructions renames the application’s WRITEX procedure to be
__XYPRO_WRITEX and then builds
tmpapplb
, a temporary library to be used for
input in the second step.
TACL 57 >
BIND
@add * from applib
@rename code WRITEX to __XYPRO_WRITEX
@build tmpapplb, symbols on, inspect on, list * off
@exit
Now add the XDP library code, remove the XDP library __XYPRO_WRITE procedure,
add the
tmpapplb
built previously, and then build
newapplb
. Binder clears all
information after a BUILD command executes so the commands below can follow the
above commands in the same obey file.
TACL 58 >
BIND
@add * from XDPLIB
@delete code __XYPRO_WRITEX
@add * from tmpapplb
@build newapplb, symbols on, inspect on, list * off
@exit