Macro CALL Routines Listed by Category

Macro

Name
Syntax and Description
CALL SYMPUT(macro-variable, value);
Assigns a value produced in a DATA step to a macro variable.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
CALL SYMPUT(macro-variable, value);
Assigns a value produced in a DATA step to a macro variable.
Product: Base SAS
Document: SAS Macro Language Reference for SAS Viya Workbench
CALL SYMPUTN('macro-variable', value);
In SCL programs, assigns a numeric value to a global macro variable.
Product: Base SAS
Document: SAS Macro Language Reference for SAS Viya Workbench
CALL SYMPUTX(macro-variable, value <, symbol-table>);
Assigns a value to a macro variable, and removes both leading and trailing blanks.
Product: Base SAS
Document: SAS Functions and CALL Routines for SAS Viya Workbench
CALL SYMPUTX(macro-variable, value <, symbol-table>);
Assigns a value to a macro variable, and removes both leading and trailing blanks.
Product: Base SAS
Document: SAS Macro Language Reference for SAS Viya Workbench
Last updated: September 24, 2026