I'am new to sas. I have a datasets in wich the names of the variables are mix case (upper and lowercase). Because i have more than 300 variables I'am tring to capitalize them without the use of the list of all the names ( as would be the case in the RENAME function). Is there any alternate way i can do so ?
I know that case does not matter because sas is not case sensitive. But I still want to capitalize the variable names (not to get a single-case list of variable names as you are suggesting). I will export this data set later to another software and it is important to have the variable names capitalized.
If you want to "officially" capitalize the names of the variables in the descriptor portion of the SAS dataset prior to exporting the file for use with another product, you need to check out PROC DATASETS documentation, especially the MODIFY and the RENAME statements. You could use the list from Elayne's suggestion as input to your PROC DATASETS step. Your best bet might be to contact SAS Tech Support, as this is not really an ODS question, but a SAS programming and usage question.