From a SAS program, I've generated a format file (formats.sas7bcat) that applies values to a given SAS dataset. For the dataset, in a given column, the values will be reformatted. For example, for a column 'PAYMENT' with given values of {'1', '2', '3', '4'} the values will be reformatted to something like {'credit card', 'cash', 'check', 'other'}. To export the translated dataset I've done: proc export data = temp_lib.data1 outfile = /*file location & filename.csv*/ label dbms = CSV replace; putnames = yes; run; I have 100+ formats. Instead of exporting the translated datasets, how would I go about exporting only the formats to a csv file? Something like: variable, value, label PAYMENT, 1, 1='credit card' PAYMENT, 2, 2='cash' PAYMENT, 3, 3='check' PAYMENT, 4, 4='other' other variable, other value, other label...
... View more