SAS Users

Providing technical tips and support information, written for and by SAS users.
Data Management | Learn SAS | Programming Tips
Leonid Batkhan 16
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 109 110 111 112 113 229