did you set up '0A' as blob? when casting to integer did you specify encoding? And finally did you set the right length for the integer in the blob by adding hex 00?
No, the "0A" is not in BLOB. It is in CHAR format, and that is why I do not think it is necessary to specify encoding when converting to INT (please correct me if I am wrong).
I am not trying to convert a BLOB into CHAR, I am trying to convert a Hexadecimal value (base-16 decimal) to a normal Decimal value (base-10 decimal). 0A in Hexadecimal actually has a value of 10 in decimal. That is what I am trying to achieve...
I could write a custom function to get the results I want, but I'm sure a sophisticated software such as Websphere Message Broker already has a syntax to do this? I mean even Microsoft Calculator can do it...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum