06-05-2014 02:52 PM
Are the data by any chance multinational and you are getting other system postal codes? If so you may want to modifiy Haikuo's suggestion to output the data to two different datasets.
06-05-2014 03:17 PM
You can also use the sashelp.zipcode table to determine if any particular ZIP code is valid. That data are updated every few months, so you may need to download the current one from sas.com.