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 (February 2008, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 20 Feb 2008 17:27:41 -0500
Reply-To:     Peter Flom <peterflomconsulting@mindspring.com>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Peter Flom <peterflomconsulting@MINDSPRING.COM>
Subject:      Re: SPSS to SAS - New to this List
Comments: To: "Feinstein,Zachary" <ZFeinstein@HARRISINTERACTIVE.COM>
Content-Type: text/plain; charset=UTF-8

"Feinstein, Zachary" <ZFeinstein@HARRISINTERACTIVE.COM> wrote >What is the easiest way to read in a SAS data file in a way that is >comparable to SPSS. > >With SPSS I could say something like GET FILE = "C:\temp2\file3.sav". > >and all is done.

If you have a SAS data file already, you can just do;

data today; set 'c:\mydir\myfile.sas7bdat'; run;

and that's it

You can also import files in various ways, most easily (to me, anyway) with the IMPORT in the DATA tab, which works great if your file is already in good shape.

Peter


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