![]() |
PING
0.9
Statistical data handling and processing in production environment
|
Select a given observation/set of observations from a UDB dataset.
geo
: list of (blank separated) countries ISO-codes; note that when geo=_ALL_
, all countries will be processed, i.e. no condition on ISO-code will be imposed;time
: year of interest; note that when time=_ANY_
, all will be processed, i.e. no condition on time will be imposed;idsn
: (option) input dataset;odsn
: (option) output dataset;var
: (option) list of fields/variables of idsn
upon which the extraction is performed; default: var
is empty (or var=_ALL_
) and all variables are selected;vartype
: (option) type of variables passed, either personal (P
), household (H
) register (R
) or (D
); if empty (not recommended), the first letter of the first variable in var
will be used in place of vartype
;where
: (option) expression used to refine the selection (WHERE
option); should be passed with %str
or %quote
; default: empty;flag
: (option) name of an additional flag variable (set to 1) added to the output dataset; default: ignored;distinct
: (option) boolean flag (yes/no
) set to use the DISTINCT
option of the PROC SQL
selection procedure;ilib
: (option) input library; default: ilib=WORK
;olib
: (option) output library; default: olib=WORK
.Imagine one needs to create a table with UK households containing more than 10 members (HHsize>=10
), e.g.:
The procedure above can be ran equivalently using the following command: