LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (May 2004)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 7 May 2004 13:36:32 +0200
Reply-To:     lars.h.johansson@vattenfall.com
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         L Johansson <lars.h.johansson@vattenfall.com>
Subject:      Splitting in the number of files as there are number of values in
              varible x
Content-Type: text/plain; charset="iso-8859-1"

How do I go about splitting a file into several files depending on how many values there are in variable x. For instance, let's say I have ten different values in x and want all values that are the same to be saved into a unique file.

X = 1 saved into file1 X = 2 saved into file2

etc.

I.e. the script will have to check how many values there are and make as many files as there are unique values.

Best wishes, Lars Johansson


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