x cd /pub/data/acs/Tools; %let pgm=edit_variables_dataset; filename pgm "&pgm..sas"; *---We use this setup to apply edits/fixes to any of the variables[ ] data sets that we get from GR.---; *---the 2012 variables5yr set had duplicate entries for the first varible of each subject group. So we eliminate the dups here.--; libname acs2012 '/pub/data/acs2012'; data acs2012.variables5yrB; *--We shall interactively rename the data set after successful run-; set acs2012.variables; by variable_id notsorted; if first.variable_id; label univvar='Universe Variable' universe_descr='Universe' WtVar='Wt Var' percent_variable='Pct Var' percent_definition='Pct Def' moe_variable='MOE var' moe_definition='MOE defn'; run;