|
At V5R2 the %DEC and %INT BIFs, (amongst others) have been enhanced to allow character strings to be converted to numeric values. Prior to V5R2, the most common methods were to use overlaid zoned/character subfields in a Data Structure, or use the atol library function provided for the C-language. (C library functions are provided within base OS/400, accessible through the QC2LE Binding Directory.) Brian Parkins
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.