Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > IBM DB2 > UDF ****tabilit...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 12 Topic 9074 of 9520
Post > Topic >>

UDF ****tability?

by esmith2112 <esmith2112@[EMAIL PROTECTED] > Jul 10, 2008 at 05:20 AM

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
 




 12 Posts in Topic:
UDF Portability?
esmith2112 <esmith2112  2008-07-10 05:20:49 
Re: UDF Portability?
Serge Rielau <srielau@  2008-07-10 09:19:39 
Re: UDF Portability?
Udo <udo.weigl@[EMAIL   2008-07-10 07:06:22 
Re: UDF Portability?
esmith2112 <esmith2112  2008-07-10 07:28:43 
Re: UDF Portability?
esmith2112 <esmith2112  2008-07-10 08:31:26 
Re: UDF Portability?
Serge Rielau <srielau@  2008-07-10 13:16:14 
Re: UDF Portability?
"Dave Hughes" &  2008-07-12 15:57:39 
Re: UDF Portability?
Knut Stolze <stolze@[E  2008-07-11 12:41:54 
Re: UDF Portability?
esmith2112 <esmith2112  2008-07-11 05:34:23 
Re: UDF Portability?
Knut Stolze <stolze@[E  2008-07-16 19:32:28 
Re: UDF Portability?
esmith2112 <esmith2112  2008-07-14 13:30:02 
Re: UDF Portability?
esmith2112 <esmith2112  2008-07-15 13:45:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 21:23:29 CST 2008.