Hi Nicholas, One way to "use" the labels instead of variable "name" is to rename you variables name with the label. For example: /*below, using SQL you can write a snippet of code that basically translates to this: name = label, and this statement will be repeated for all your variables */ proc sql; select catt(name,"=", Label) into: new_label separated by " " from dictionary.columns where libname = "WORK" & memname = "YOUR_DATA" ;*note the uppercase needs to be uppercase; quit; *you can now automatically rename all your variables to their correspondent label; data want; set YOUR_DATA; rename &new_label.; run; HOWEVER if your labels contain character like >, < {}...whatever special characters then you will need to tell SAS to replace those characters. I learn that Regular Expressions (PRXchange) works wonderful. Anyhow... Best of luck! Anca.
... View more