Date: Wed, 2 Jan 2002 09:58:43 -0600
Reply-To: "Marks, Jim" <firstname.lastname@example.org>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: "Marks, Jim" <email@example.com>
Subject: get data loop
Content-Type: text/plain; charset="iso-8859-1"
I need to run the following syntax for a series of files:
GET DATA /TYPE = TXT
/FILE = "C:\43325-int-1022.txt"
/DELCASE = LINE
/DELIMITERS = "|"
/ARRANGEMENT = DELIMITED
/FIRSTCASE = 2
/IMPORTCASE = ALL
The first five characters in the file name correspond to an id number. There
are 4 of them (non-consecutive). The last 4 characters correspond to a
date-- mmdd (also non-consecutive).
Is there a way to write a script that will cycle through the dates for each
id number, and through the id numbers? (I am almost ready to use the copy
and paste method 8-)
Thanks in advance
LodgeNet Entertainment Corporation
IMPORTANT NOTICE: This communication (including any attached files) is
intended for the entity to which it is directed and may contain confidential
and proprietary information of LodgeNet Entertainment Corporation. The
communication is provided under the terms of the nondisclosure agreement
between LodgeNet and the intended recipient. If you are not acting solely
on behalf of the intended recipient with respect to the receipt of this
communication, you are not authorized to receive, retain, print or forward
this communication. In that event, you are directed to destroy this
communication (including any attached files), and to advise
firstname.lastname@example.org that you received this communication in error. If
you are authorized to receive this communication on behalf of the intended
recipient, you are obligated to treat it as confidential and proprietary
information of LodgeNet Entertainment Corporation, in accordance with the
nondisclosure agreement mentioned above.