Info Modules (from Phase-III Macro System): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K |
K |
||
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 9: | Zeile 9: | ||
}} | }} | ||
− | + | ;Info Modules provide information about datasets and variables for correct processing. | |
+ | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Name | ! Name | ||
− | ! | + | ! Purpose |
− | ! | + | ! Algorithm |
|- | |- | ||
| [[MACRO GET ATTR|%GET_ATTR()]] | | [[MACRO GET ATTR|%GET_ATTR()]] | ||
Zeile 22: | Zeile 23: | ||
|- | |- | ||
| [[MACRO GRP DESC|%GRP_DESC()]] | | [[MACRO GRP DESC|%GRP_DESC()]] | ||
− | | '''Provide information about a categorial variable | + | | '''Provide information about a categorial variable''' |
| Investigates given categorial variable and provides results using undeclared macro variables: &n_grp - number of distinct values; &v_grp – structured list of distinct unformatted values; &l_grp – structured list of distinct formatted values. | | Investigates given categorial variable and provides results using undeclared macro variables: &n_grp - number of distinct values; &v_grp – structured list of distinct unformatted values; &l_grp – structured list of distinct formatted values. | ||
|- | |- | ||
| [[MACRO CHK LIST|%CHK_LIST()]] | | [[MACRO CHK LIST|%CHK_LIST()]] | ||
− | | '''Provide information about a list type macrovar | + | | '''Provide information about a list type macrovar''' |
| Reads supplied list of tokens and returns undeclared macro variables: &n_lst - number of list elements; &v_lst – structured list of supplied elements. Input list elements may be separated by blank and comma only. | | Reads supplied list of tokens and returns undeclared macro variables: &n_lst - number of list elements; &v_lst – structured list of supplied elements. Input list elements may be separated by blank and comma only. | ||
|} | |} |
Aktuelle Version vom 6. März 2014, 09:54 Uhr
- Info Modules provide information about datasets and variables for correct processing.
Name | Purpose | Algorithm |
---|---|---|
%GET_ATTR() | Return single attributes like label, format, etc. | Reads dataset header and returns attributes as undeclared macro variables using the requested attributes names. Information becomes available when the particular variable is declared in the calling environment using a %global or %local statement. |
%GRP_DESC() | Provide information about a categorial variable | Investigates given categorial variable and provides results using undeclared macro variables: &n_grp - number of distinct values; &v_grp – structured list of distinct unformatted values; &l_grp – structured list of distinct formatted values. |
%CHK_LIST() | Provide information about a list type macrovar | Reads supplied list of tokens and returns undeclared macro variables: &n_lst - number of list elements; &v_lst – structured list of supplied elements. Input list elements may be separated by blank and comma only. |