[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with DO-REPEAT
From: |
Ben Pfaff |
Subject: |
Re: Problem with DO-REPEAT |
Date: |
Sat, 10 Aug 2013 10:01:04 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Aug 06, 2013 at 05:49:47AM -0700, aitmeus2 wrote:
> i'm trying to append yearly datafiles for some countries using dhe DO
> REPEAT-command.
> Unfortunately i cant figure out how to do it.
>
> DO REPEAT country = at be bg ch cy cz dk ee es fi fr gr hu ie is it lu lv
> mt nl no pl pt ro se si sk uk.
> GET
> /FILE= country2008_y.sav.
> ADD FILES
> /FILE= country2009_y.sav
> /FILE= country2010_y.sav.
> SAVE
> /OUTFILE= country.sav.
> END REPEAT.
Does that work in SPSS?