AutoCall Macros Listed by Product

Base SAS

A C D G K L M Q S T V X

Name
Syntax and Description
GEOCODE auto-call macro
Product: Base SAS
Document: SAS/GRAPH and Base SAS: Mapping Reference
%CENTROID (input-data-set, output-data-set, list-of-id-variables <, SEGONLY=n>);
Retrieves the centroid positions of map data set polygons.
Product: Base SAS
Document: SAS/GRAPH and Base SAS: Mapping Reference
%CMPRES (text | text-expression)
%QCMPRES (text | text-expression)
Compress multiple blanks and remove leading and trailing blanks.
Product: Base SAS
Document: SAS Macro Language: Reference
GEOCODE auto-call macro
Product: Base SAS
Document: SAS/GRAPH and Base SAS: Mapping Reference
%COMPSTOR(PATHNAME=SAS-data-library)
Compiles macros and stores them in a catalog in a permanent SAS library.
Product: Base SAS
Document: SAS Macro Language: Reference
%DATATYP (text | text-expression)
Returns the data type of a value.
Product: Base SAS
Document: SAS Macro Language: Reference
GEOCODE auto-call macro
Product: Base SAS
Document: SAS/GRAPH and Base SAS: Mapping Reference
GEOCODE auto-call macro
Product: Base SAS
Document: SAS/GRAPH and Base SAS: Mapping Reference
%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
%LEFT(text | text-expression)
Left-align an argument by removing leading blanks.
Product: Base SAS
Document: SAS Macro Language: Reference
%LOC2XPT (FILESPEC=filespec , <LIBREF=libref>, <MEMLIST =memlist>,
<FORMAT=format>
)
Identifies whether the data set you are reading in has any extended data set features and creates a V8 transport file or a V5 transport file accordingly.
Product: Base SAS
Document: Moving and Accessing SAS Files
%LOG4SAS( )
Initializes the logging environment to use autocall macros.
Product: Base SAS
Document: SAS Viya Logging: Configuration and Reference
%LOG4SAS_APPENDER(name, "FileRefAppender"
<, '<FILEREF=fileref> <PATTERN="pattern"> <THRESHOLD=threshold>'> )
Defines an appender.
Product: Base SAS
Document: SAS Viya Logging: Configuration and Reference
%LOG4SAS_DEBUG(logger-name, message)
Logs a DEBUG message if the specified logger accepts DEBUG messages.
Product: Base SAS
Document: SAS Viya Logging: Configuration and Reference
%LOG4SAS_ERROR(logger-name, message)
Logs an ERROR message if the specified logger accepts ERROR messages.
Product: Base SAS
Document: SAS Viya Logging: Configuration and Reference
%LOG4SAS_FATAL(logger-name, message)
Logs a FATAL message if the specified logger accepts FATAL messages.
Product: Base SAS
Document: SAS Viya Logging: Configuration and Reference
%LOG4SAS_INFO(logger-name, message)
Logs an INFO message if the specified logger accepts INFO messages.
Product: Base SAS
Document: SAS Viya Logging: Configuration and Reference
%LOG4SAS_LOGGER(name <, "<ADDITIVITY=TRUE | FALSE>
<APPENDER-REF=(appender-list)> <LEVEL=level>">
)
Defines a logger.
Product: Base SAS
Document: SAS Viya Logging: Configuration and Reference
%LOG4SAS_TRACE(logger-name, message)
Logs a TRACE message if the specified logger accepts TRACE messages.
Product: Base SAS
Document: SAS Viya Logging: Configuration and Reference
%LOG4SAS_WARN(logger-name, message)
Logs a WARN message if the specified logger accepts WARN messages.
Product: Base SAS
Document: SAS Viya Logging: Configuration and Reference
%LOWCASE text | text-expression()
Change uppercase characters to lowercase.
Product: Base SAS
Document: SAS Macro Language: Reference
GEOCODE auto-call macro
Product: Base SAS
Document: SAS/GRAPH and Base SAS: Mapping Reference
%QCMPRES (text | text-expression)
Compresses multiple blanks, removes leading and trailing blanks, and returns a result that masks special characters and mnemonic operators.
Product: Base SAS
Document: SAS Macro Language: Reference
%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
%QLEFT text | text-expression()
Left-aligns an argument by removing leading blanks and returns a result that masks special characters and mnemonic operators.
Product: Base SAS
Document: SAS Macro Language: Reference
%QLOWCASE(text | text-expression)
Changes uppercase characters to lowercase and returns a result that masks special characters and mnemonic operators.
Product: Base SAS
Document: SAS Macro Language: Reference
%QTRIM (text | text-expression)
Trims trailing blanks and returns a result that masks special characters and mnemonic operators.
Product: Base SAS
Document: SAS Macro Language: Reference
%SYSRC(character-string)
Returns a value corresponding to an error condition.
Product: Base SAS
Document: SAS Macro Language: Reference
GEOCODE auto-call macro
Product: Base SAS
Document: SAS/GRAPH and Base SAS: Mapping Reference
%TRIM(text | text-expression)
Trim trailing blanks.
Product: Base SAS
Document: SAS Macro Language: Reference
%VERIFY(source, excerpt)
Returns the position of the first character unique to an expression.
Product: Base SAS
Document: SAS Macro Language: Reference
%XPT2LOC (FILESPEC= filespec, <LIBREF=libref>, <MEMLIST =memlist> )
Can convert older V5 transport files and v8/v9 transport file format back into SAS data sets.
Product: Base SAS
Document: Moving and Accessing SAS Files

SAS Cloud Analytic Services SAS Client

Name
Syntax and Description
%UDFSEL (SAS-library-name);
Generates a SELECT statement for the unique non-intrinsic user-defined formats that are referenced in the data sets in a single SAS library.
Product: SAS Cloud Analytic Services SAS Client
Document: SAS Cloud Analytic Services: User-Defined Formats

SAS Data Quality Server

D M

Name
Syntax and Description
%DQLOAD(DQSETUPLOC="quality-knowledge-base-name", DQLOCALE=(locale <, locale2, locale3...>), <DQINFO=0|1>);
Sets system option values and loads locales into memory.
Product: SAS Data Quality Server
Document: SAS Data Quality and SAS Data Quality Server: Language Reference
%DQPUTLOC (locale);
Displays in the SAS log current information about a specified locale.
Product: SAS Data Quality Server
Document: SAS Data Quality and SAS Data Quality Server: Language Reference
%DQUNLOAD;
Unloads all locales to increase the amount of free memory.
Product: SAS Data Quality Server
Document: SAS Data Quality and SAS Data Quality Server: Language Reference
Macro Resources
Product: SAS Data Quality Server
Document: SAS Data Quality and SAS Data Quality Server: Language Reference

SAS/GRAPH

Name
Syntax and Description
%SHORTCUT (NAME=new-name <PROTOTYPE=existing-name>
<DESCRIPTION=description> <LIBREF=libref>
<REGISTRY=SASUSER | SASHELP>)
Creates a shortcut device that is linked to the existing Universal Printer of the same name, or defines a new Universal Printer and shortcut device and links the device to the Universal Printer.
Product: SAS/GRAPH
Document: SAS/GRAPH: Reference
Last updated: March 23, 2022