SAS Tips and Tricks

  1. Check top 10, middle 10, and bottom 10 observations. [code]
  2. Get filenames from a directory. [code]
  3. Read zip files within SAS. [code]
  4. How to check if a macro variable is null. [code]
  5. Evaluate a string. [code]
  6. Concatenate all strings in a column into a macro variable. [code]
  7. Check whether a variable is in a dataset. [code]
  8. Example on macro quoting. [code]
  9. Regular expression. [code]
  10. Create a dictionary from a variable of strings [code]
  11. Example on proc transpose. [code]
  12. Concatenate all data in one directory. [code]

Back to Homepage