|
I would do a subst of the field and see if it is >='000000000' and
<='999999999', that is if you only care that all 9 of the digits are
numeric.
Elonna Thompson
Worldnet Services Corp
Information Technologies
850-432-1700 x2204
"Wills, Mike N.
(TC)" To: "'rpg400-l@midrange.com'"
<rpg400-l@midrange.com>
<MNWills@taylorco cc:
rp.com> Subject: Check for a numeric
data
Sent by:
rpg400-l-admin@mi
drange.com
10/23/01 10:50 AM
Please respond to
rpg400-l
How do I check to see if one part of a text field is numeric? An example of
the field is: ' 12345THIS IS TEXT'. I want to check to see if the first 9
characters are numeric.
TIA for any help.
Mike
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
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.