/macros

SAS Utility Macros

Primary LanguageSAS

macros

SAS Utility Macros

  • squote - Quote string with single quote characters
  • dquote - Quote string with double quote characters
  • parmv - Parameter validation with standard error message generation
  • mvartest - Macro variable existance test
  • direxist - Test if path is a directory
  • csvfile - Write SAS dataset as CSV file
  • bench - Time interval between calls
  • fread - Reads file using only macro code
  • substrn - Subset string (simulation of SUBSTRN function)
  • qsubstrn - Subset string (simulation of SUBSTRN function) w quoting
  • varexist - Check for the existence of a specified variable