Support Forums : SPSS export response max out

We encourage an open exchange of information. Ask your questions or make suggestions. We are here to help, but we also encourage all of you to help one another.
Click on the Subscribe Flag to be notified by email of replies to your post.
Current User: Guest Login Register
Please consider registering

SPSS export response max out

Add a New Topic Reply to Post
UserPost

7:49
March 24, 2008


AdamStanford

Member

posts 12

Hi,

I just tried to download the SPSS syntax for my survey (6400 respondents) and did not get a complete file - the syntax ended around 5600 respondents or so, and, along with missing a few hundred responses did not have the variable label information (the bit below “END DATA”).

There don’t appear to be any facilities to filter SPSS exports to reduce the file size and download in several sections, then merge in SPSS. Any kind of filter here would be an easy work around.

Survey name: Travellers’ Pulse

This issue is different from the 80 column max out (which is solved in another post on this forum).

Many thanks,

Adam

10:14
March 25, 2008


Christian Vanek

Moderator

Cambridge, MA

posts 776

Adam,

This has happened to me a few times too. The data is there, but the SYNTAX Editor in SPSS has a character limit. (I can’t tell you how long it took me to figure this out…)

The trick is to download the file to your desktop. Then use another Text Editor to separate the data from the variable & label SYNTAX (I assume you do this already to get around the 80 column limit, if not I can provide instructions).

Then you can open the syntax file in SPSS and run it. It will import all your data because it’s reading it from a separate text file.

I have started writing a direct SurveyGizmo to SPSS SAV file exporter. I’ll hurry — a lot of folks are using our two software packages together.

I like SPSS, but I have to say their file formats are… “interesting”.

Cheers,

-Christian

10:25
June 26, 2008


Igor

Guest

I’d like to inform you there is a new library to native export to SPSS format - SPSS XPorter version 1.6

Features
* can export data to any SPSS versions (since v10)
* allows to use UTF-8 to painless export any texts
* allows to use all the main SPSS variable types (Unlike pmStation, wich does not support date variables)
* supports long variable names, labels and values
* uses data compression
* is highly optimized for speed (up to 10 times)
* is designed for minimal memory usage
* adds missing values to variable
* uses defined value labels for variable’s value (both numeric, so does string)
* supports line by line mode (as pmStation library) and batch mode
* is developed for easily moving from old and non-stabile pmStation library. (There is an adapter class, using it helps you not to rewrite the code)
* is developed with using non-blocking multithreaded architecture
* supports progress listener
* can be configured on-the-fly

Supported variable types

* NUMERIC;
* COMMA;
* DOT;
* DOLLAR;
* STRING;
* DATE (different formats).

If you are interested in it, do not hesitate to contact me at nikonoff@mail.com

12:16
June 27, 2008


cheri

Moderator

posts 342

Hi, Igor.

It seems like this package has some nice enhancement that would help make using SPSS easier and faster.

Thanks for the information!

–Cheri

9:46
September 30, 2008


Alex

Guest

Christian,

Could this be (part of) the explanation of why I get strange errors when including multiple files containing many SPSS-macro's? (possibly thousands of lines of syntax alltogether)

The error I encounter does not appear to be associated with any specific macro, they work fine one-by-one. SPSS states something like “text not recognized as an SPSS command, line xxxx, text encountered DEFINE” Also, since I can change the order in which I execute the syntax/load the macro's and the error always comes near the (next to) last files I run I suspect something else is going on. Replacing the INCLUDE statement for some of the first files I run with INSERT was nescessary just to keep on going but does not offer real confidence for future expansion in functionality.

Any further knowledge on the character limit that you can share is more than welcome!

Alex

Christian Vanek said: [edited]

This has happened to me a few times too. The data is there, but the SYNTAX Editor in SPSS has a character limit. (I can’t tell you how long it took me to figure this out…)

I like SPSS, but I have to say their file formats are… “interesting”.

Cheers,

-Christian


10:45
September 30, 2008


Christian Vanek

Moderator

Cambridge, MA

posts 776

Hi Alex,

I think I have only gotten that error  a few times myself.  It turns out there was a pesky unqouted '.'  or a line break) in my syntax (usually labels) made SPSS think I was starting a new command. 

Now, for the SPSS exports for example, I program defensively even before we get to syntax.  I have actual server code outside of SPSS search for common weird glicthes and do string replacements for safely.  Some weeks it seems like a full time job in and of itself… finding weird syntax issues.

Anyways, if you encounter that problem again let me know.  Particularly if you cen send me a sample (christian at sgizmo) and I'll try to debug it with you.  The geek in me finds it facinating. Also, what version are you using?

-Christian

Add a New Topic Reply to Post


Reply to Topic: SPSS export response max out

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 6 + 5        (Required)

Topic Reply:


 
© Simple:Press Forum - Version 3.1.4 (Build 357)