As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Glossary for Comments

From sasCommunity
Jump to: navigation, search

A Glossary for Program Comments

A wise man (whose name I cannot remember) once wrote: A beginner doesn't use comments. An intermediate user uses comments to explain what he did. An expert uses comments to explain what he did NOT do.

What goes in comments?



  • allocate, v.
  1. choose variable name
  2. assign value to variable
  • assign, v.,


  • lookup table, n., a table with a Primary Key that contains columns with text explanations;

fact tables are linked to lookup tables with FactTable.ForeignKey = LookUpTable.PrimaryKey; database term: dimension table; SAS shortcut: formats;


  • make


  • order, v., by-var,



  • set,
    • n., a list of items,
    • v., to assign
  • stratify, v., to arrange, to order, to stack: use by-var with procedures; proc freq cross-tab: tables A * B;


  • unique, to make unique: proc sort data = ... noduprecs|nodupkey; by by-var(s);

See also

  • Dictionary, for keywords and lingo around SAS, programming, and other concepts