Hi,
The best method to verify the string is numberic or not is compress function.
Please see the code below:
[code:ec8b8]data a;
input test $4.;
if (missing(compress(test,,'d'))) then output;
datalines;
0011
1101
2101
广文
南字
;
proc print data=a;
run;[/code:ec8b8]