AutoCall Macros Syntax Listed by Product

Base SAS

C D K L Q S T V

Name
Syntax and Description
%CMPRES (text | text expression)
%QCMPRES (text | text expression)
Compress multiple blanks and remove leading and trailing blanks.
Product: Base SAS
Document: SAS 9.3 Macro Language: Reference
%COMPSTOR (PATHNAME=SAS library)
Compiles macros and stores them in a catalog in a permanent SAS library.
Product: Base SAS
Document: SAS 9.3 Macro Language: Reference
%DATATYP (text | text expression)
Returns the data type of a value.
Product: Base SAS
Document: SAS 9.3 Macro Language: Reference
%KLOWCASE (text | text expression)
%QKLOWCAS (text | text expression)
Change uppercase characters to lowercase.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
%KTRIM (text | text expression)
%QKTRIM (text | text expression)
Trim trailing blanks.
Product: Base SAS
Document: SAS 9.3 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 9.3 Macro Language: Reference
%KVERIFY (source, excerpt)
Returns the position of the first character unique to an expression.
Product: Base SAS
Document: SAS 9.3 National Language Support (NLS): Reference Guide
%LEFT(text | text expression)
%QLEFT(text | text expression)
Left-align an argument by removing leading blanks.
Product: Base SAS
Document: SAS 9.3 Macro Language: Reference
%LOG4SAS( )
Initializes the logging environment to use autocall macros.
Product: Base SAS
Document: SAS 9.3 Logging: Configuration and Programming Reference
%LOG4SAS_APPENDER(name, "FileRefAppender"
<,'<FILEREF=fileref > <PATTERN="pattern"> <THRESHOLD=threshold > '>
)
Defines an appender.
Product: Base SAS
Document: SAS 9.3 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 9.3 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 9.3 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 9.3 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 9.3 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 9.3 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 9.3 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 9.3 Logging: Configuration and Programming Reference
%LOWCASE (text | text expression)
%QLOWCASE (text | text expression)
Change uppercase characters to lowercase.
Product: Base SAS
Document: SAS 9.3 Macro Language: 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 9.3 Macro Language: Reference
%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 9.3 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 9.3 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 9.3 Macro Language: Reference
%SYSRC(character-string)
Returns a value corresponding to an error condition.
Product: Base SAS
Document: SAS 9.3 Macro Language: Reference
%TRIM(text | text expression)
%QTRIM(text | text expression)
Trim trailing blanks.
Product: Base SAS
Document: SAS 9.3 Macro Language: Reference
%VERIFY(source, excerpt)
Returns the position of the first character unique to an expression.
Product: Base SAS
Document: SAS 9.3 Macro Language: Reference

SAS Data Quality Server

D M

Name
Syntax and Description
%DQLOAD option(s)
Sets system option values and loads locales into memory.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference
%DQPUTLOC option(s)
Displays current information about a specified locale in the SAS log.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference
%DQUNLOAD;
Unloads all locales to increase the amount of free memory.
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference
Macro Resources
Product: SAS Data Quality Server
Document: SAS 9.3 Data Quality Server Reference

SAS/ACCESS Interface to R/3

C R

Name
Syntax and Description
%CALLRFC
(<RFC-enabled function module name>
EXPORTING <parameter string> IMPORTING <parameter string>
INTABLES <parameter string> OUTTABLES <parameter string>
USING <parameter string>)
Calls a specified RFC-enabled function module.
Product: SAS/ACCESS Interface to R/3
Document: SAS/ACCESS 4.4 Interface to R/3: User's Guide
%R3CONNB
(PROFILE=value, LIBREF=value, FUNCTION=open | close, ID=value, SOURCE=value)
Connects to or disconnects from an SAP system using a profile
Product: SAS/ACCESS Interface to R/3
Document: SAS/ACCESS 4.4 Interface to R/3: User's Guide
%R3CONNC
(<CCONN=value,> <HOST=value,> <PORT=value,> <USR=value,>
<PWD=value,> <CLI=value,> <LNG=value,> <HST=value,>
<DST=value,> <SNA=value,> <R3=value,> <SYS=value,>
<GWS=value,> <GWH=value,> <FUNC=value,> <CPICUSR=value,>
<CPICPWD=value,> <CPICCLI=value,> <CPICLNG=value,> <CPICDST=value,>
<CPICFRM=value,> <DEBUG=value,> <REMSESS=value >)
Connects to an SAP system
Product: SAS/ACCESS Interface to R/3
Document: SAS/ACCESS 4.4 Interface to R/3: User's Guide
%R3CONNE(CCONN=value, REMSESS=value)
Disconnects from an SAP system
Product: SAS/ACCESS Interface to R/3
Document: SAS/ACCESS 4.4 Interface to R/3: User's Guide

SAS/SHARE

L O S

Name
Syntax and Description
%LIBDEF (libref,< SAS-library > ,<READONLY> ,<RETRY> ,<ENGINE=local-engine > ,<RENGINE=remote-engine > ,<RMTVIEW=remote-engine-RMTVIEW=-option>> ,<SLIBREF=server-library > , < uapw > , <APPLSYS=appl-sys-lib-table > );
Generates a LIBNAME statement.
Product: SAS/SHARE
Document: SAS/SHARE 9.3 User's Guide
%LISTLIB <FULL> ;
Lists the current library-alias table.
Product: SAS/SHARE
Document: SAS/SHARE 9.3 User's Guide
%LISTSRV;
Lists the server-alias table.
Product: SAS/SHARE
Document: SAS/SHARE 9.3 User's Guide
%LISTSRVI;
Lists the server information table.
Product: SAS/SHARE
Document: SAS/SHARE 9.3 User's Guide
%OPERATE(server-name,< oapw >);
Generates a PROC OPERATE statement.
Product: SAS/SHARE
Document: SAS/SHARE 9.3 User's Guide
%SERVERID(server-alias, <NEQ>);
Converts a server alias to a server ID.
Product: SAS/SHARE
Document: SAS/SHARE 9.3 User's Guide
%SERVIIDX(server-name);
Returns the index of the entry for the specified server in the server identification table.
Product: SAS/SHARE
Document: SAS/SHARE 9.3 User's Guide
%SERVINFO (two-level-server-name,<RMTVIEW= REMOTE-engine-RMTVIEW=-option > ,
<NETNODE=network-node-name)> ;
Adds server attributes to the server information table.
Product: SAS/SHARE
Document: SAS/SHARE 9.3 User's Guide
%SERVLIB(SAS-library-name, server-name
<RMTVIEW=REMOTE-engine-RMTVIEW=-option >,
<PHYSNAME=physical-name-of-library >,<SLIBREF=server-libref >,
<ENGINE=engine-in-user-session >, <RENGINE=engine-in-server-session >);
Adds server-library pairs to the library table.
Product: SAS/SHARE
Document: SAS/SHARE 9.3 User's Guide
%SETSRV (server-name, < oapw >);
Generates a SET SERVER statement.
Product: SAS/SHARE
Document: SAS/SHARE 9.3 User's Guide
%SHRMACS (category,< log-info >,<APPLSYS=app-sys-lib-tab ... >, <SASSAML=app-sys-lib-tab ... > );
Compiles other SAS/SHARE macros.
Product: SAS/SHARE
Document: SAS/SHARE 9.3 User's Guide
%SHUTSRV(server-name, < oapw >);
Stops a server.
Product: SAS/SHARE
Document: SAS/SHARE 9.3 User's Guide
%STRTSRV(server-name, < options > , < uapw > , < oapw > );
Starts a server.
Product: SAS/SHARE
Document: SAS/SHARE 9.3 User's Guide