Date: Wed, 16 Apr 1997 10:42:44 +0100
Reply-To: thermo <thermo@ERMINE.OX.AC.UK>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: thermo <thermo@ERMINE.OX.AC.UK>
Subject: Re: SPSS -> SAS Problems
In-Reply-To: <5it3qm$e4m@gatekeeper.barclaycard.co.uk>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Philip,
A really easy way of doing this could be the new version of S-PLUS
which has point-and-click data input/output from SAS, SPSS (and many other
formats). We saw the S-PLUS 4.0 Beta this week for the first time and it
seems to do a really good job of this.
Don Fraser
Earth Sciences,
Oxford University
On Mon, 14 Apr 1997, Philip Holland wrote:
> deeweber@asimov.oit.umass.edu (Dee Weber) wrote:
> >Trying to Transfer an SPSS Export file to SAS (Dec OSF SPSS 6.1, SAS 6.11).
> >And seeing errors (below). SPSS file contains about 24000 + cases and
> >1300 + variables. Lots of one column variables. The SPSS file was
> >created with DATA LISTs on 32 separate files & then MATCH FILES
> >(several of these) created kid90. Then EXPORT OUTFILE=kid90.xpt created
> >the export file. Nothing fancy.
> >
> >Thanks for any insight (short of converting to an ASCII file).
> >
> >ERROR: Width specified for format COMMA is invalid.
> >--
> >Dee Weber weber@sadri.umass.edu
> >Social and Demographic Research Institute 413-545-0746 (fax)
> >Machmer W-34 413-545-5971 (voice)
> >University of Massachusetts
> >Amherst, MA 01003
>
> Dee,
>
> You can bypass the format errors by using:
>
> OPTIONS NOFMTERR;
>
> which will allow you to create a SAS dataset. You can then
> check the actual format/informat used in the dataset with PROC
> CONTENTS procedure or the VAR command. The COMMA format has a
> minimum width of 2, whereas the COMMA informat has a minimum
> width of 1.
>
> HTH..............Philip R Holland <phil.holland@bcs.org.uk>
> Holland Numerics Ltd
> Royston, Herts, UK
> mobile: +44-(0)850-295556
>
|