PING
0.9
Statistical data handling and processing in production environment
|
var
: a list of strings/elements of the form var
or dsn.var
where the dsn
represents some dataset and var
, some variable;ds=
: (option) Input reference dataset_dslst_
: (option) Output list of datasets_varlst_
: (option) Output list of variablessep, rep
: (option) Replacement stringcheck=no
: (option) Boolean flag (yes/no
) set to check the variables' existencelib
: (option) name of the input library; by default: WORK
is used._varlst_
: name of the macro variable used to store the elements from var
that actually define existing variables/fields in dsn
.
Let us consider the following simple examples:
returns list=tab.a, tab.b, tab.y, tab.z, tab.c
, while
sets var=a b c
and ds=_dstest5 _dstest5 _dstest5
.
Run macro %_example_str_varlist
for more examples.
In short, given some variables var
and ds
, the first-case (most common) scenario ran through the command str_varlist(&var, ds=&ds)
actually runs:
which is also equivalent to:
%str_dslist, %var_check, %ds_contents, %ds_check, %list_append.