Date: Sat, 5 Apr 2008 08:49:10 -0400
Reply-To: Art@DrKendall.org
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Art Kendall <Art@DrKendall.org>
Organization: Social Research Consultants
Subject: Re: Merge More Than One File At A Time
In-Reply-To: <12abd87a0804041902i6a006529o30793e050c55e4ad@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
The documentation says that you can.
I cannot test this because I am moving to a newer PC and need to figure
out licenses.
However for version 16 <help> says (emphasis added)
says
MATCH FILES FILE={'savfile'|'dataset'} *[TABLE={'savfile'|'dataset'}] *
{* } {* }
[/RENAME=(old varnames=new varnames)...]
[/IN=varname]
/FILE=... *[TABLE= ...]*
[/BY varlist]
[/MAP]
[/KEEP={ALL** }] [/DROP=varlist]
{varlist}
[/FIRST=varname] [/LAST=varname]
the version 9 manual says: (emphasis added)
A separate TABLE command must be used to specify *each *lookup file . . ..
Art Kendall
Social Research Consultants
Hans Chen wrote:
> Dear Listers
>
> I have a main file which has 100 variables, and also I have 5 files. I just
> wonder whether I can merge then at one time? Althorugh I know We can merge
> them one file each time? Your suggestion will be highly appreciated.
>
> Thanks!
>
> ======================
> MATCH FILES /FILE=*
> /TABLE='C:\Documents and Settings\Hans\My Documents\FILE1.sav'
> /TABLE='C:\Documents and Settings\Hans\My Documents\FILE2.sav'
> /TABLE='C:\Documents and Settings\Hans\My Documents\FILE3.sav'
> /TABLE='C:\Documents and Settings\Hans\My Documents\FILE4.sav'
> /TABLE='C:\Documents and Settings\Hans\My Documents\FILE5.sav'
> /BY RESPNO.
> EXECUTE.
> --
> Hans Chen
> Canada
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD
>
>
>
=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD