From sasCommunity
Revision as of 11:10, 24 August 2017 by Paulkaefer (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Semicolon (;) is the most dreaded feature of the SAS syntax. It actually ends a statement (making it a step boundary) and by itself is a null statement.

The result of the fear of the semicolon is that SAS programmers quite often forget to code the semicolon.

Folklore: SAS really stands for "semicolon - always semicolon"


  • Many statements, like the INPUT statement, may span multiple lines. A semicolon should only be appended to the very end of the statement, not the end of each line.

Further reading

See also