CALL SYMPUT Routine

Assigns DATA step information to a macro variable.

Category: Macro

Syntax

CALL SYMPUT(argument-1,argument-2);

Required Arguments

argument-1

specifies a character expression that identifies the macro variable that is assigned a value. If the macro variable does not exist, the routine creates it.

argument-2

specifies a character constant, variable, or expression that contains the value that is assigned.

Details

The CALL SYMPUT routine either creates a macro variable whose value is information from the DATA step or assigns a DATA step value to an existing macro variable. CALL SYMPUT is fully documented in “SYMPUT Routine” in SAS Macro Language: Reference.

See Also

Functions: