Date: Thu, 16 Nov 2006 07:18:48 +1100
Reply-To: Simon Freidin <email@example.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Simon Freidin <firstname.lastname@example.org>
Subject: Re: Combining Files with ADD FILES: Variable Label Problem
Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed
APPLY DICTIONARY from “lastmonth.sav” /VARINFO LEVEL MISSING
VALLABELS = MERGE.
- The level of measurement and defined missing values from the source
dataset are applied to the matching variables in the active target)
dataset. Any existing missing values definitions for those variables
in the active dataset are deleted.
- Value labels for matching variables in the two datasets are merged.
If the same value has a defined value label in both the source and
active datasets, the value label in the active dataset is unchanged.
On 16/11/2006, at 4:49 AM, Georg Maubach wrote:
> Hi All,
> we have to add some files together without interleaving cases but need
> to now the source of the cases.
> We created a variable "Source" in the first dataset and assigned a
> of "311" to all cases and label it with "Example 1". We created a
> variable "Source" in the second dataset and assigned a value of
> "312" to
> all cases and label it with "Example 2".
> If we add the files using
> ADD FILES
> /FILE='example2.sav' .
> the resulting variable "Source" does not have the label for the value
> Is there a way to merge the variable labels for the variables of both
> Best regards
> Georg Maubach
> MRSC Division Corporate & MRSC Services
> Deutsche Post World Net
> Business Consulting GmbH
> Market Research Service Center