Date: Mon, 14 Jan 2008 08:15:21 -0500
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Art Kendall <Arthur.Kendall@verizon.net>
Subject: Re: Splitting a file into several subfiles
Content-type: text/plain; charset=ISO-8859-1; format=flowed
If your variable that you want to split on is "city" and you want
separate output sections containing all the procedures you call for each
city, something like this untested syntax should work.
sort cases by city
split file separate by city.
frequencies . . .
crosstabs . . .
descriptives . . .
split file off.
If you want you want city as the outermost layer in output tables, use
the layered specification rather than separate.
split file layered by city.
Social Research Consultants
Vicent Giner Bosch wrote:
> I want to split a file using one split variable with 18 different values.
> But what I specifically want is to split that file into 18 (sub)files, using
> that split variable.
> In your experience, which is the best / fastest way to do that?
> Thank you in advance.
> Vicent Giner Bosch
> ESTADIS - Statistics, Data Mining and Optimization Group
> Polytechnic University of Valencia
> Department of Applied Statistics, Operations Reseach and Quality
> Camí de Vera, s/n
> 46022 Valencia, Spain
> Tel.: +34 96 387 7490 / +34 96 387 7007 - Ext. 74948 / +34 630306621
> Fax: +34 96 387 7499
> 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
For a list of commands to manage subscriptions, send the command