Previous Page | Next Page

Functions and CALL Routines

SYMGET Function



Returns the value of a macro variable during DATA step execution.
Category: Macro

Syntax
Arguments
Details
See Also

Syntax

SYMGET(argument)

Arguments

argument

can be one of the following items:

  • the name of a macro variable within double quotation marks but without an ampersand

  • the name of a DATA step character variable, specified with no quotation marks, which contains a macro variable name

  • a character expression that constructs a macro variable name


Details

If the SYMGET function returns a value to a variable that has not yet been assigned a length, by default the variable is assigned a length of 200.

The SYMGET function returns the value of a macro variable during DATA step execution. For more information, see the SYMGET Function in SAS Macro Language: Reference.


See Also

CALL routine:

CALL SYMPUT Routine

SAS Macro Language: Reference

Previous Page | Next Page | Top of Page