Hi ftr,

  one way to achieve this would be like this (of course the new names are up to you):

GET FILE = 'EVS 2017 short.sav'.
SAVE OUTFILE = 'temp.sav' /KEEP = country NUTS1 NUTS2
  /RENAME = (country NUTS1 NUTS2 = nation regional regional2).
MATCH FILES FILE = * /FILE = 'temp.sav'.
EXECUTE.
ERASE FILE = 'temp.sav'.
Hth, frans


On 3/10/25 19:48, ft gmail wrote:

Hi,

I try to create a new variable on the basis of another one and copy the value labels from one variable to the other. To my surprise, this does not work here.

GET FILE  ="EVS 2017 short.sav".
freq nuts1.
comp regional = nuts1.
freq regional.

Regional has not received the value labels of nuts1.

How can I achieve this by syntax ? I don't want to retype the labels of all 123 European regions which exist already in the data set.

Thanks in advance

ftr


J’ai lié un fichier à ce message :

  * EVS 2017 short.sav
    <https://send.vis.ee/download/7a899694af7e25b0/#PoimZ1fSYlmUsQ-68r0DhA>
    Taille : 41,0 Ko
    Date d’expiration : 11/03/2025 19:38 UTC+1
    Limite de téléchargement : 7
    Service Filelink : Thunderbird Send
    Lien :
    https://send.vis.ee/download/7a899694af7e25b0/#PoimZ1fSYlmUsQ-68r0DhA
    <https://send.vis.ee/download/7a899694af7e25b0/#PoimZ1fSYlmUsQ-68r0DhA>

Reply via email to