@PaigeMillerThank you but I really do not understand how you wanted me to do it. I have initially thought about the find and replace but not sure how it will work. Am finding it hard to follow through with your wording, may be you can help me clarify it better. This is how my code is setup: data a; set b; if Zipcode NOT IN (21501,21502,21503,21504,21505 21521,21524,21528,21529,21530 21532,21539,21540,21542,21543 21545,21555,21556,21557,21560 21562,21766,20711,20724,20733 20751,20755,20758,20764,20765 20776,20778,20779,21012,21032) then zip_1=0; else zip_1=1;run;
... View more