AutoCall Macros Syntax by Category

DBCS

Name
Syntax and Description
%KCMPRES (text | text expression) %QKCMPRES (text | text expression)
Product: Base SAS
Document: SAS National Language Support: Reference Guide
%KLEFT (text | text expression) %QKLEFT (text | text expression)
Left-align an argument by removing leading blanks.
Product: Base SAS
Document: SAS National Language Support: Reference Guide
%KLOWCASE (text | text expression) %QKLOWCAS (text | text expression)
Change uppercase characters to lowercase.
Product: Base SAS
Document: SAS National Language Support: Reference Guide
%KTRIM (text | text expression) %QKTRIM (text | text expression)
Trim trailing blanks.
Product: Base SAS
Document: SAS National Language Support: Reference Guide
%KVERIFY (source, excerpt)
Returns the position of the first character unique to an expression.
Product: Base SAS
Document: SAS National Language Support: Reference Guide

Logging

Name
Syntax and Description
%LOG4SAS( )
Initializes the logging environment to use autocall macros.
Product: Base SAS
Document: SAS Logging: Configuration and Programming Reference
%LOG4SAS_APPENDER(name, "FileRefAppender" <',<FILEREF=fileref > <PATTERN="pattern"> < THRESHOLD=threshold > '> )
Defines an appender.
Product: Base SAS
Document: SAS Logging: Configuration and Programming Reference
%LOG4SAS_DEBUG(logger-name, message)
Logs a DEBUG message if the specified logger accepts DEBUG messages.
Product: Base SAS
Document: SAS Logging: Configuration and Programming Reference
%LOG4SAS_ERROR(logger-name, message)
Logs an ERROR message if the specified logger accepts ERROR messages.
Product: Base SAS
Document: SAS Logging: Configuration and Programming Reference
%LOG4SAS_FATAL(logger-name, message)
Logs a FATAL message if the specified logger accepts FATAL messages.
Product: Base SAS
Document: SAS Logging: Configuration and Programming Reference
%LOG4SAS_INFO(logger-name, message)
Logs an INFO message if the specified logger accepts INFO messages.
Product: Base SAS
Document: SAS Logging: Configuration and Programming Reference
%LOG4SAS_LOGGER(name <,"<ADDITIVITY=TRUE | FALSE> <APPENDER-REF=(appender-list )> <LEVEL=level > "> )
Defines a logger.
Product: Base SAS
Document: SAS Logging: Configuration and Programming Reference
%LOG4SAS_TRACE(logger-name, message)
Logs a TRACE message if the specified logger accepts TRACE messages.
Product: Base SAS
Document: SAS Logging: Configuration and Programming Reference
%LOG4SAS_WARN(logger-name, message)
Logs a WARN message if the specified logger accepts WARN messages.
Product: Base SAS
Document: SAS Logging: Configuration and Programming Reference