Skip to content

APPLY DICTIONARY

Copies dictionary information (labels, value labels, missing values, levels, formats, attributes) from another dataset or file to matching variables.

APPLY DICTIONARY FROM='file' | dataset [/SOURCE VARIABLES=varlist] [/TARGET VARIABLES=varlist] [/VARINFO VARLABEL VALLABELS=REPLACE|MERGE MISSING LEVEL FORMATS ATTRIBUTES ALIGNMENT WIDTH ROLE ALL] [/FILEINFO FILELABEL DOCUMENTS ATTRIBUTES WEIGHT ALL].
Kind Dictionary (variable properties)
Body free-form body
Changes data yes, undoable
APPLY DICTIONARY FROM='master.sav' /VARINFO VARLABEL VALLABELS=MERGE MISSING.
  • Variables are matched by name; one /SOURCE variable can be applied to several /TARGET variables.
  • Value labels and missing values are skipped (with a warning) when the types differ.

VARIABLE ATTRIBUTE, VALUE LABELS


Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.