When you convert a character to numeric, you can specify the informat to use when doing the conversion (how SAS will read in the character data). Any invalid numeric data will result in missing values.

An alternative is to do the conversion in your edit check program.

...