![]() the FMTLIB option, which tells SAS where to build custom SAS formats if the data makes use of SPSS labels. ![]() the DBMS=SAV option, which tells SAS that we're expecting a file in the SPSS data file format Here's the basic structure of the program:ĭatafile = "/folders/myfolders/my_data/survey.sav" If you're using SAS University Edition, you can download this file and drop it into your shared myfolders location so that SAS can see it. I've attached an example SAV file to this article so that you can follow along. Good news – this feature is part of the free SAS University Edition, so you can practice this skill from that environment. The ability to read an SPSS data file is a part of PROC IMPORT when you have SAS/ACCESS to PC Files installed. If you're using SAS Enterprise Guide, there is a built-in task that makes this process easy, no programming required. Note: This article shows you how to import SPSS data files in a SAS program. SAS provides a simple method that allows you to convert an SPSS data file – a SAV file - to a SAS data set. If you are coming to SAS after using IBM SPSS Statistics, then you probably have a few SPSS data files that you want to continue to use with SAS.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |