Basic Rules of SAS :
1) Every statement end with semicolon
2) Every step (both data step & proc step) end with Run statement
3) SAS Program is not case sensitive
4) Single statement can write in multiple lines or
Multiple statements can write in single line
SAS Names & Rules to write SAS Names:
SAS Program is color sensitive program, it contains
Keywords – Which are there in dark blue colour
Statements – Which are there in light blue colour
Data – Which is back ground yellow colour, or data location is in pink colour
SAS Names – Which are there in black colour
1) Names must be Less than or equal 32 character length
2) SAS Names must start with alphabetic or under score (_)
3) SAS Names should contain alphabets, numeric’s and under score (_)
But not any special characters
4) SAS Names are not case sensitive but data is case sensitive, and if it is character
Should contain single quotes.