|
> Buck, Since I am using this in a UDF I am not interested in an additional > parameter for in/out processing. Can be done, but really complicates > where I use it. I understand what you are saying about the C method. > However doesn't system() export a separate variable? Not all C library functions directly return rc. Some return the a value and set errno. We RPG folk could do the equivalent with EXPORT and IMPORT, but I haven't any idea how that could percolate up to a UDF (how the SQL statement would do the IMPORT half, that is.) Sounds like you are stuck with a work around where the UDF returns a special value. Perhaps all digits? --buck
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.