|
Yeah my preference would be to use the MI function, but I need
this quick & dirty on a production system. So putting together an
ILE RPG program to use as an external stored procedure is out.
ILE CL might be an option, I'll have to see about REXX, not sure
if I can use it or not.
Correct me if I'm wrong, but the REXX source you provided a link
to, handles a 8 byte hex string --> 4 byte integer correct?
I don't suppose you could tell me what I'd need to change to
handle a 16 byte hex string --> 8 byte big int could you? :)
Otherwise, I need to learn REXX quickly! :)
On Fri, Feb 26, 2010 at 6:32 PM, CRPence wrote:
Although the function _could_ be written in SQL, as in the
example found at the noted link, I would expect using an external
function might be a better option where both a portable function is
not required and the amount of work performed per invocation is best
reduced [as compared to the HexToInt SQL UDF for which I suspect its
implementation is probably not very efficient as compared to using
the MI instruction].
http://groups.google.com/group/comp.sys.ibm.as400.misc/browse_thread/thread/d2312748add3faf3/ca949144a21d9e6b
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.