Monthly Archives: August 2009

Removing formats from all variables in a SAS Dataset

In SAS, every field/variable in a table/dataset can be given a format. This format tells SAS how to display the data. The following datastep will create a table called “formatted” having 1 row containing 3 variables: x, y, and d. data formatted; x=9000; y=42; now=16761; format x comma6.; format y dollar5.; format now date7.; put […]