proc print data=sashelp.zipcode; where City="Adams"; var ZIP State StateCode StateName County CountyNm; title1 "All Cities named Adams"; run;