• Print  |
  • Feedback  |

TEMPLATE Procedure: Declaration Statements (Experimental)

DYNAMIC Statement


Defines a symbol that references a value that the data component supplies from the procedure or DATA step.
DYNAMIC variable-1 <'text-1'> <... variable-n <'text-n'>>;


Usage Information

Restriction:

You can use the DYNAMIC statement in the definition of a table, column, header, footer, or an ODS statistical graph. A dynamic variable that is defined in a definition is available to that definition.


Required Arguments

variable

names a variable that the data component supplies. ODS resolves the value of the variable when it binds the definition and the data component.

Tip: Dynamic variables are most useful to the authors of SAS procedures and to DATA step programmers.

Options

text

is text that you can place in the definition to explain the dynamic variable's use. Text of this type becomes part of the compiled definition, which you can view with the SOURCE statement, whereas SAS comments do not become part of the compiled definition.

Requirement: You must enclose the text in quotation marks.


Previous Page | Next Page | Top of Page