Programming Tips

Strengthen your programming skills with tips and techniques from the experts

Data Management | Learn SAS | Programming Tips
Leonid Batkhan 0
Modifying variable attributes in all datasets of a SAS library

Using the DATASETS procedure, we can easily modify SAS variable attributes such as name, format, informat and label: proc datasets library=libref; modify table_name; format var_name date9.; informat var_name mmddyy10.; label var_name = 'New label'; rename var_name = var_new_name; quit; We cannot, however, modify fixed variable attributes such as variable type

1 43 44 45 46 47 65

Back to Top