Sunday, July 26, 2009

remove formats or labels

This tip comes by way of sastips.com

sometimes

The following example of code removes all labels and formats for the dataset EXAMPLE in the directory referenced by the LIBNAME WORK:

    proc datasets lib=work nolist;
modify example;
attrib _all_ label=''; *Remove labels;
format _all_; *Remove formats;
quit;
run;