Search the Legacy Support Archive (up to v2020)
  1. Read-only archive (2005–2024). Posting is closed. Need help with MediaLab or DirectRT 2027? Email service@empirisoft.com.

    All words · “exact phrase” · -leave out

    Advanced search

SPSS problem

  1. #1

    SPSS problem

    Our research group collected data using MediaLab, and all seemed to go well, but when we try to import data into SPSS using the by_questionnaire file, we get an error stating that there are words other than "/" and variable names in the syntax. I've looked all through the sps file and I can't see what it's talking about, unless perhaps underscores are not acceptable in filenames? Or is there something else that might be causing the problem?

  2. #2
    jarvis24 Blair Jarvis, Administrator
    Does the native .SAV file (from the byVariableName folder) open OK in SPSS?

  3. #3
    Yes, the .SAV from byvariable opens in SPSS.

    Just to clarify, though, the group was wanting to import the data by questionnaire, and that's where the error was generated. You may be working around to that, I just wanted to keep it out there.

    Thanks.

  4. #4
    jarvis24 Blair Jarvis, Administrator
    Not sure if you are still looking for a solution on this, but does the .csv version of the byQuestionnaire data open ok? If so, it might be easiest to use that. If there are too many variables (i.e., > 255) then you can import the csv file directly into SPSS by renaming it ".txt".

    If you really want to import the original .txt file and are still getting syntax problems, feel free to send or attach copies of the .sps file and the .txt file and I'll take a look at them.