🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: bit.listserv.spssx-l
2 messages
2 total messages Started by Melisa A. Tanger-Brown Fri, 06 Aug 1993 17:12
OSIRIS data into SPSS on a Unix machine?
#308
Author: Melisa A. Tanger-Brown
Date: Fri, 06 Aug 1993 17:12
43 lines
2271 bytes
If you have ever imported OSIRIS data into Spss on a Unix machine, I'd like
to hear from you.

Spss doesn't support the GET OSIRIS function on Unix, so I tried SAS
and SAS has a fix for reading OSIRIS data which works fairly well.

Now I have my OSIRIS data in SAS dataset format, BUT Spss doesn't
support the GET SAS function on Unix either.

Now what?

Well, I was thinking that I could use PROC PRINT to change the SAS dataset
into a raw ASCII file and then read it into Spss, but this would take some 
work:

	Figure out the appropriate Linesize so that one
	observation takes only one line

	Figure out the appropriate Pagesize so that there
	is only one set of headers at the beginning of the file

	Automatically strip out these header lines

	Use the PROC CONTENTS to create an Spss program to read
	the data from the PROC PRINT file

Does anyone have another solution - or have already done some of this
work?

Please e-mail to

lita@cc.rochester.edu

Thanks in advance for you help.

I'll post a summary to the groups at a later date if anyone is interested.

Lisa Brown
--
Melisa Tanger-Brown (Lisa)				Phone: (716) 275-2811
University of Rochester					
UCC - User Services
Taylor Hall, River Campus
Re: OSIRIS data into SPSS on a Unix machine?
#309
Author: paul gronke
Date: Fri, 06 Aug 1993 20:47
28 lines
2426 bytes
In article <1993Aug6.171228.6714@galileo.cc.rochester.edu> lita@troi.cc.rochester.edu (Melisa A. Tanger-Brown) writes:

>If you have ever imported OSIRIS data into Spss on a Unix machine, I'd like
>to hear from you.

>lita@cc.rochester.edu

Please!  We have been having the same problems here.  Have you figured out the 
annoying trick that you have to ftp the osiris data and dictionary as 
binary so that SAS recognizes EBCDIC?  Of course, this means that the data 
cannot be read via fortran format statements by other users...
 
I really wish Spss would port over the GET OSIRIS command.  Mainframes are 
becoming less and less accessible.
 
On a more productive note, a user here has a program that reads Osiris 
dictionaries and spits out a mini "codebook" that can relatively easily be 
converted into SPSS or SAS (or SST or whatever) read data statements.  
The program seems to work, but we can't ftp the Osiris 
dictionaries down in one piece.

One possibility you might look into is getting a Unix version of Osiris.  I 
know there is a PC version.  Might be an expensive route just for data 
conversion, though...
 
Another option is to write out a SAS CEXPORT file and then use a program 
called STAT Transfer to convert the file to an SPSS EXPORT file format.  This 
is also a PC based program that I can send you info on if you're interested.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads