LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2005)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 29 Sep 2005 12:20:28 -0500
Reply-To:     "Marks, Jim" <>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         "Marks, Jim" <>
Subject:      Re: Split file command
Content-Type: text/plain; charset="us-ascii"

Does this do what you want?

COMPUTE date_split EQ xdate.year(datevar)*100+xdate.month(datevar).

SORT CASES BY date_split. SPLIT FILE by date_split.


-----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Cynthia L Conley Sent: Thursday, September 29, 2005 9:20 AM To: SPSSX-L@LISTSERV.UGA.EDU Subject: Split file command

Greetings Listers,

Is it possible to split a file based on a date function versus groups within windows? I'm trying to split a file based on variable months of '99 and '04 data and thought there may be a way to do this quickly through windows rather than writing numerous statements in the syntax. Thanks for your assistance.


Cynthia L Conley Director, Office of LGBT Services Office of Vice Provost for Diversity and Equal Opportunity Houchens 04B University of Louisville 502-852-0696 Office

"Knowledge is the antidote to fear."

Ralph Waldo Emerson

Back to: Top of message | Previous page | Main SPSSX-L page