AutoCall Macros Listed by Category
DBCS
|
Name
|
Syntax and Description
|
|---|---|
|
%KLOWCASE (text | text expression)
Change uppercase characters to lowercase.
Product: Base SAS
Document: SAS National Language Support (NLS): Reference Guide
| |
|
%KTRIM (text | text expression)
Trim trailing blanks.
Product: Base SAS
Document: SAS National Language Support (NLS): Reference Guide
| |
|
%KVERIFY(source, excerpt)
Returns the position of the first character unique
to an expression.
Product: Base SAS
Document: SAS Macro Language: Reference
| |
|
%KVERIFY (source, excerpt)
Returns the position of the first character unique
to an expression.
Product: Base SAS
Document: SAS National Language Support (NLS): Reference Guide
| |
|
%QKLOWCAS (text | text expression)
Change uppercase characters to lowercase.
Product: Base SAS
Document: SAS National Language Support (NLS): Reference Guide
| |
|
%QKTRIM (text | text expression)
Trim trailing blanks.
Product: Base SAS
Document: SAS National Language Support (NLS): Reference Guide
|
Logging
|
Name
|
Syntax and Description
|
|---|---|
|
%LOG4SAS( )
Initializes the logging environment to use autocall
macros.
Product: Base SAS
Document: SAS Viya Logging Facility for SAS Programs and Jobs
| |
|
%LOG4SAS_APPENDER(name, "FileRefAppender"
<, '<FILEREF=fileref> <PATTERN="pattern"> <THRESHOLD=threshold>'> ) Defines an appender.
Product: Base SAS
Document: SAS Viya Logging Facility for SAS Programs and Jobs
| |
|
%LOG4SAS_DEBUG(logger-name, message)
Logs a DEBUG message if the specified logger accepts DEBUG
messages.
Product: Base SAS
Document: SAS Viya Logging Facility for SAS Programs and Jobs
| |
|
%LOG4SAS_ERROR(logger-name, message)
Logs an ERROR message if the specified logger accepts ERROR
messages.
Product: Base SAS
Document: SAS Viya Logging Facility for SAS Programs and Jobs
| |
|
%LOG4SAS_FATAL(logger-name, message)
Logs a FATAL message if the specified logger accepts FATAL
messages.
Product: Base SAS
Document: SAS Viya Logging Facility for SAS Programs and Jobs
| |
|
%LOG4SAS_INFO(logger-name, message)
Logs an INFO message if the specified logger accepts INFO
messages.
Product: Base SAS
Document: SAS Viya Logging Facility for SAS Programs and Jobs
| |
|
%LOG4SAS_LOGGER(name
<, "<ADDITIVITY=TRUE
| FALSE>
<APPENDER-REF=(appender-list)> <LEVEL=level>">) Defines a logger.
Product: Base SAS
Document: SAS Viya Logging Facility for SAS Programs and Jobs
| |
|
%LOG4SAS_TRACE(logger-name, message)
Logs a TRACE message if the specified logger accepts TRACE
messages.
Product: Base SAS
Document: SAS Viya Logging Facility for SAS Programs and Jobs
| |
|
%LOG4SAS_WARN(logger-name, message)
Logs a WARN message if the specified logger accepts WARN
messages.
Product: Base SAS
Document: SAS Viya Logging Facility for SAS Programs and Jobs
|
Last updated: July 17, 2025