Date: Mon, 26 Mar 2001 12:02:01 -0500 Reply-To: Mark Casazza Sender: "SPSSX(r) Discussion" From: Mark Casazza Subject: Re: Help Reading Portable File Comments: To: Michael Kruger Content-Type: text/plain; charset="iso-8859-1" Hi Michael, I went and downloaded the file from Univ. Nebraska's web site and I was able to read it without any funky convolutions or third party programs. I'll go through how I did it and maybe you can see where you're running into a problem. 1.) I downloaded the file using IE by right clicking on the link and choosing the "save target" option, gave it a location and told it OK. 2.) Once I had the file on my hard drive, the first thing I had to do was rename it to get rid of the text extension. I used the standard Windows rename command and removed the ".txt" leaving the ".por" extension. 3.) I then opened SPSS and made sure that the temp directory in options was looking at c:\temp and not the temp file under WINNT. 4.) I then used syntax to open the file. The syntax was: import file='c:\download\big1.por'. exe. The execute shouldn't be necessary, but when having problems I try to cover all the bases--I didn't try it without the execute since it worked with it. 5.) Now, here is where you may be having the problem. I'm running an 800MHz PIII with 256MB of RAM, Windows 2000 and SPSS 10.0.7 and that file took a LONG time to import. After reading about 12,300 cases the computer looked like it was locked up (screen blanked in sections, lost some additional video representation on the task/tool bars, &c), but it still said "Running Import" at the bottom. I went and got a cup of coffee and kept waiting. I didn't time it, but I must have smoked an entire cigarette before that file opened, but it did open. I suggest trying the import again and just letting the machine run until it decides to stop regardless of what else it might say. FWIW, when you save the file as a ".sav" file and then reopen it, that too takes quite a while--I just tried it. HTH Mark Casazza home: mvcasazza@earthlink.net work: casazza@adelphi.edu "Those who cast the votes decide nothing. Those who count the votes decide everything." -Joseph Stalin ----- Original Message ----- From: "Michael Kruger" Newsgroups: bit.listserv.spssx-l To: Sent: Monday, March 26, 2001 8:38 AM Subject: Re: Help Reading Portable File > Ling, > Thanks for the advice and response. However, your advice only works with > other SPSS > for Windows or Mac files. The file I'm trying to import is an SPSSX portable > file. SPSSX > is the mainframe software and although several others have told me about > software available for importing this file type into an SPSS-PC format, I > haven't find a successful way to resolve my problem. One of the pieces of > software, StatTransfer, provides a funcitonal demo, but deletes evey 16th > case in the file ( an interesting approach to random > sampling!). I am trying to get my dept. to purchase it. > The other DBMS/COPY wouldn't insatll properly on my PC. I think it is only > a demo anyway. So ...if anyone has a simple, inexpensive solution to reading > a 135 MB SPSSX > portable file into SPSS 10.05, please let me know. Thanks. > > Ling Ting wrote: > > > Michael: > > > > I dont know if you have the problem resloved. one way you can try is... > > If this file you get is SPSS portable, it should have .por file > > extension. if not... you can rename the file with .por extension and then > > from SPSS for Windows, click > > on > > File -> Open -> Data > > > > then you will see Open file dialog box pop-up on the screen. > > 1. Provide the data source from "Look in" box and > > 2. change "Files of Type" to "SPSS Portable [*por]" and > > now, you should see the file that you are trying to open shown on the > > file box. > > 3. highlight the file and click on Open. if the file you downloaded is > > SPSS portable, it should be opened. > > if you want to save it to .sav file, you can click on File-> Save as > > once your have this portable file opened. > > > > HOpe i get your question correctly and hope this helps. Ling > > > > Ling Ting > > University of Arkansas > > Computing Services > > 501.575.7322 > > 501.575.4753(fax) > > > > On Fri, 23 Mar 2001, Michael Kruger wrote: > > > > > I'm trying to read a file I've downloaded from the Univ. of Nebraksa > > > Bureau of Social Reseach. It is supposed to be an SPSSX portable file, > > > 132 MB in size. It is an SPSS coded dataset of the National Survey of > > > Families and Households. When I read it into > > > SPSS PC 10.05, it tries to read it in as a raw data file. Can anyone > > > give me some advice > > > on how I can simply turn the SPSSX portable file into a file that is > > > readable by my Windows software. > > > > > > -- > > > "Make it idiot-proof and someone will make a better idiot". > > > > > > Michael Kruger "A True Prince" > > > Statistical Analyst > > > Wayne State Univ.School of Medicine > > > Dept. of OB/Gyn > > > (313)-577-1794 > > > > > -- > "Make it idiot-proof and someone will make a better idiot". > > Michael Kruger "A True Prince" > Statistical Analyst > Wayne State Univ.School of Medicine > Dept. of OB/Gyn > (313)-577-1794 > 

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