Date: Mon, 12 Jul 2010 15:26:37 -0700
Reply-To: "Ornelas, Fermin" <FerminOrnelas@azdes.gov>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: "Ornelas, Fermin" <FerminOrnelas@azdes.gov>
Subject: Re: opening a compressed SAS file with SPSS
In-Reply-To: <7.0.1.0.2.20100712174623.03d92f00@mindspring.com>
Content-Type: multipart/alternative;
You could run a sas program and create an ascii file that could easily read into SPSS. I often do that.
Here is a little sample of how I create a flat file.
DATA _NULL_;
SET out.maden_jun_10;
FILE jun_10 N=PS NOTITLE;
PUT @1 CAT $2.
@4 Denial_Reason $34.
@40 Code $2.
@42 jun10 6.
;
run ;
Fermin Ornelas, Ph.D.
From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Richard Ristow
Sent: Monday, July 12, 2010 2:51 PM
To: SPSSX-L@LISTSERV.UGA.EDU
Subject: Re: opening a compressed SAS file with SPSS
At 02:29 AM 7/12/2010, Nomi wrote:
I have encountered some SAS data files that must be compressed because when I try opening them with SPSS I get the following message:
>Error # 7202. Command name: GET SAS
>Input dictionary read error.
>This command not executed.
Compressed SAS files are not supported
It opens fine with SAS but is there anyway to export the data?
It looks like you have access to SAS. If so, save the data as SAS transport files, and read those in SPSS.
I don't have SAS documentation with me, but I believe you create transport files by copying the datasets to a library declared with the XPORT option.
===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
________________________________
NOTICE: This e-mail (and any attachments) may contain PRIVILEGED OR CONFIDENTIAL information and is intended only for the use of the specific individual(s) to whom it is addressed. It may contain information that is privileged and confidential under state and federal law. This information may be used or disclosed only in accordance with law, and you may be subject to penalties under law for improper use or further disclosure of the information in this e-mail and its attachments. If you have received this e-mail in error, please immediately notify the person named above by reply e-mail, and then delete the original e-mail. Thank you.
[text/html]