07-25-2012 11:14 AM
What i need to do is create format for all possible values of a variable using proc format
For example if i have country_code and country_name as fields, what i want to do is
"US" = ""UNITED STATES OF AMERICA
"IND" = "INDIA"
till all possible values
How can i do that in macros? What i did was took all possible values in different macros using call symput and count also but dont know how to write out the values part.
07-25-2012 11:24 AM
you can use your dataset to create format. search create format from sas dataset: