I am reading a field that can either be a packed numeric (PD2.) or an alpha character ($2.). Since I only care if it is a number, I am reading it as PD2. format. I know I can limit the number of error messages, but is there a way to suppress the message when it encounters a character value in this field?
* use MIXED. to read "mixed data";
input x : mixed. @@;
1234 e2 56446 hf fy 5474
the LOG ... no errors ...
90 data test;
91 input x : mixed. @@;
NOTE: SAS went to a new line when INPUT statement reached past the end of a line.
NOTE: The data set WORK.TEST has 6 observations and 1 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
the data set ...
for your data, you should be able to replace [10.] in the informat with [PD2.]