PING
0.9
Statistical data handling and processing in production environment
|
Retrieve the number of variables of a given dataset.
dsn
: a dataset reference;lib
: (option) name of the input library; by default: empty, i.e. WORK
is used.nvars
: number of variables in dataset dsn
.
Let us consider test dataset #5:
f | e | d | c | b | a |
---|---|---|---|---|---|
. | 1 | 2 | 3 | . | 5 |
then:
returns nvars=5
as expected.
Run %_example_ds_nvars
for more examples.