|
Hi All, I am writing a data cleanup program. I need to check a name and address file to make sure that all the characters are valid alphanumeric characters. I wrote the few lines of code below. I wanted the 'BADCHR' to be an array so that I could substring A BLANK into each position that has an invalid character. But ever time I try to compile the program it complains that *RNF5343 30 7 Array has too many omitted indexes; specification is ignored. BADCHR is an array defined length of 1,0 DIM(30) C VALIDCHR(1) CHECK GNADD3 BADCHR C IF BADCHR > *ZEROS C EXSR FIX_NM1RECORD C ENDIF What am I doing wrong? TIA Ron
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.