|
Lim You can try Eval Numeric_Field = %int(Char_field) -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Lim Hock-Chai Sent: 02 March 2007 4:52 PM To: RPG programming on the AS400 / iSeries Subject: char to numeric I need to write a process that requires converting a 10 chars field in a file to a numeric field. There are millions of records in this file and speed is very import for this process. Does any one know of the most speedy way to do this conversion? Note: This char field is left justified (contains tailing blanks) and could contain all blanks. thanks.
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.