Common SAS syntax rules
You will need to create SAS names for a variety of purposes, naming
datasets and variables, for example. This simple program illustrates both
types of names.
Rules for SAS names are:
Short names are recommended, as these names will be used throughout the program. But the names should be meaningful, particularly variable names, as they will appear in the output.
SAS is case aware, but not sensitive. If you define a variable Weight_Gain, then it will appear in all output with that capitalization, but you can refer to the variable as weight_gain. Because of this, you can not have two variables in the same dataset called A and a.