1.

What are some common mistakes that people make while writing programs in SAS?

Answer»

The following are some of the most common programming errors in SAS:  

  • If a semicolon is missing from a statement, SAS will misinterpret not only that statement but potentially several that follow.
  • A number of errors will result from unclosed quotes and unclosed comments because SAS may fail to read the SUBSEQUENT statements correctly.
  • Data and procedure steps have very different functions in SAS, so statements that are VALID in ONE will probably cause errors in the other.
  • Data is not SORTED before using a statement that requires a sort
  • Submitted programs are not checked for LOG entries.
  • The quotation marks are not matched.
  • The dataset option is invalid or the statement option is invalid.
  • Debugging techniques are not used.


Discussion

No Comment Found