Help using Base SAS procedures

Conversion of SAS dataset from SPSS dataset in file size

Reply
N/A
Posts: 0

Conversion of SAS dataset from SPSS dataset in file size

I am a new learner in SAS programming. I have saved a SPSS dataset (about 10MB containing 90000 observations with 300 columns of data fields). However, when I read such dataset in SAS, the file size as saved is about 10 times the original.

e.g.
SAVE TRANSLATE OUTFILE='d:\test.sas7bdat'
/TYPE=SAS /VERSION=7 /PLATFORM=WINDOWS /MAP /REPLACE .

Please advise me how to read it smaller. Thank you.
Super Contributor
Super Contributor
Posts: 3,174

Re: Conversion of SAS dataset from SPSS dataset in file size

Posted in reply to deleted_user
Again the SAS support website http://support.sas.com/ will help you here - there is a specific conference paper, noted below:

http://www2.sas.com/proceedings/sugi29/142-29.pdf


Scott Barry
SBBWorks, Inc.
Super User
Posts: 10,028

Re: Conversion of SAS dataset from SPSS dataset in file size

Posted in reply to deleted_user
I am not test.
Try to use:

[pre]
options compress=yes;
[/pre]



Ksharp
Ask a Question
Discussion stats
  • 2 replies
  • 117 views
  • 0 likes
  • 3 in conversation