I'm trying to implement an internal company provided security
algorithm as a UDF within DB2. I have the provided C source code and
was able to put a UDF wrapper around it and compile it using the
provided bldrtn script on my development box. It appears to be working
as expected there.
On my QA box, there is no C compiler, so I can't use the bldrtn
script. From what I read, I thought I could just copy the binary
compiled file from machine to the other, run the "create function"
script, and be done with it. The good news, is that the actual
mechanics of that operation go smoothly. The function gets created and
I can execute it. The bad news is that it produces garbage for
output.
Of course I started to look for differences between the two machines.
There are several, some out of my direct control. Any thoughts on
which would be the most likely culprit?
OS:
AIX 5.2 (Dev), AIX 5.3 (QA)
DB2:
v. 8 fixpak 5 (Dev), v. 8 fixpak 16 (QA)
CPU:
PowerPC 604 (Dev), PowerPC POWER4 (QA)
I bring up CPU since the C routine does bitwise operations.
Thanks for your thoughts,
Evan


|