Passing SAS Functions to Aster

SAS/ACCESS Interface to Aster passes the following SAS functions to Aster for processing. Where the Aster function name differs from the SAS function name, the Aster name appears in parentheses. For more information, see Passing Functions to the DBMS Using PROC SQL.

ABS MAX
ARCOS (ACOS) MIN
ARSIN (ASIN) MINUTE (date_part)
ATAN MLOWCASE (lower)
ATAN2 MOD (see note)
AVG MONTH (date_part)
BYTE (chr) QTR (date_part)
CEIL (ceiling) REPEAT
COALESCE SIGN
COS SIN
COT SQRT
COUNT STRIP (btrim)
DAY (date_part) SUBSTR (substring)
EXP SUM
FLOOR TAN
HOUR (date_part) TRANWRD (replace)
INDEX (strpos) TRIMN (rtrim)
LOG (ln) UPCASE (upper)
LOG10 (log) YEAR (date_part)
Note: SAS does not modify non-integer arguments to the MOD function. If your DBMS does truncate non-integer arguments to MOD, then DBMS results for this function might vary from SAS results. For more information, see Functions Where Results Might Vary: MOD Function.

SQL_FUNCTIONS=ALL allows for SAS functions that have slightly different behavior from corresponding database functions that are passed down to the database. Only when SQL_FUNCTIONS=ALL can the SAS/ACCESS engine also pass these SAS SQL functions to Aster. Due to incompatibility in date and time functions between Aster and SAS, Aster might not process them correctly. Check your results to determine whether these functions are working as expected. For more information, see SQL_FUNCTIONS= LIBNAME Statement Option.

COMPRESS (replace) ROUND
DATE (now::date) TIME (now::time)
DATEPART (cast) TIMEPART (cast)
DATETIME (now) TODAY (now::date)
LENGTH TRANSLATE
Last updated: February 3, 2026