TEMPLATE Procedure: Creating Markup Language Tagsets
ITERATE Statement
Specifies a dictionary variable or list variable
to loop through, and assigns the variable's value to the _NAME_ and
_VALUE_ event variables for each iteration.
Requirement: |
You must use the ITERATE statement with the _VALUE_ or
_NAME_ event variables. The first value of the dictionary variable
or list variable is placed in the _VALUE_ event variable. For dictionary
variables, the key is placed
in the _NAME_ event variable.
|
See: |
_VALUE_
and _NAME_ in Data Variables. |
Syntax
Required Arguments
- dictionary-variable
-
specifies a dictionary
variable.
Requirement:dictionary-variable must
be preceded by the “$” symbol.
Tip:User-defined variables are not case sensitive.
- list-variable
-
specifies a list variable.
Requirement:list-variable must
be preceded by the “$” symbol.
Tip:User-defined variables are not case sensitive.
Optional Argument
- event-statement-condition(s)
-
specifies one or more
conditions that must be true for the event statement to execute.
Requirement:event-statement-condition(s) must
be preceded by a slash (/).
Copyright © SAS Institute Inc. All rights reserved.