Date: Fri, 5 Jan 2001 13:20:33 -0800
Reply-To: Ron Smith <rsmith@PCC.EDU>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Ron Smith <rsmith@PCC.EDU>
Subject: Re: sequential variable names
In-Reply-To: <003801c0775e$9db83460$5e5a178a@ucr.edu>
Content-Type: text/plain; charset="us-ascii"
At 01:29 PM 01/05/2001 -0800, you wrote:
>
> Hello all:
> Has anyone a way to automate this aspect of constructing the data file that
> avoids manually entering each of the (n) variable names with something like
> an ascending numeric marker ?
>
> Thanks in advance to all that respond!!
I don't know how to do it in SPSS, but in SAS it would happen in the input
statement and would go something like:
input @10 (or whatever column number they start with)
(lvstyl1-lvst180) (number of variables*varlength) for example (170*1.) for a
numeric variable of one column or (170*$1.) for a string variable of one column
width;
Pretty sure SPSS should have something like that, and being a novice SPSS user,
would
like to know myself.
Also, are there any good third party SPSS programming language references?
Ron
**********************************************************
Ronald Smith
Research Evaluation Coordinator
Institutional Research
Portland Community College
P. O. Box 19000, Portland, OR 97280-0990
Tel: (503) 614-7706; Fax: (503) 645-0894
rsmith@pcc.edu
**********************************************************