No need to write anything - you just need to use cvthc (or cvtch if you were going in the other direction).

I wrote them up here: http://www.ibmsystemsmag.com/ibmi/developer/8741p1.aspx


Jon Paris

www.Partner400.com
www.SystemiDeveloper.com



On 9-Nov-09, at 4:10 PM, midrange-l-request@xxxxxxxxxxxx wrote:

For instance I have a 16 byte character field with binary data and I
want to turn it into a 32 byte character field that is the hex
representation of the field. Have any of you written such a beast? I
suppose I could create a 256 byte array with the values "00" to "FF" and
convert each character field to a binary field. Is there an API that
can make my job easier?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.