Test performed with SPSS v21 (Linux) in fedora.
I tried to run multiple times with the same results syntax and throws the
error 2269 in the command "GET DATA" (fails to open file: spssdata.csv).
Moreover, when trying to open the CSV file, I got another error: "The Unicode
encoding of this file is not supported by the Text Wizard. You can use the DATA
LIST command to read UTF-16 text data files."
Regards
--
Bastián Díaz
________________________________
De: Ben Pfaff <b...@cs.stanford.edu>
Para: pspp-...@gnu.org; pspp-users@gnu.org
Enviado: Domingo, 8 de septiembre, 2013 21:23:56
Asunto: please help if you can by running some syntax under SPSS
A few months ago a user reported that some syntax and data from a survey
website did not work properly with PSPP:
http://lists.gnu.org/archive/html/pspp-users/2013-05/msg00028.html
The problem was that the website produces files whose lines end only
with carriage returns (CRs), not with either line feeds (LFs) or CR+LF
pairs, as is conventional.
My question now is whether these files work with SPSS. I'm attaching
samples output by the survey website. If you have access to SPSS, then
I would appreciate it if you would try these files out and report back
the results.
Thanks,
Ben.
_______________________________________________
Pspp-users mailing list
Pspp-users@gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
GET DATA
/TYPE = TXT
/DELCASE = LINE
/DELIMITERS = ';'
/ARRANGEMENT = DELIMITED
/FIRSTCASE = 2
/IMPORTCASE = ALL
/FILE = 'spssdata.csv'
/VARIABLES = q001001 F5
q002001 F5
scode F5
id F5
starttime F5
duration F5
completed F5
.
Error. Command name: GET DATA
(2269) Failure opening file: spssdata.csv
Execution of this command stops.
VARIABLE LABELS q001001 'What do you think?'
Error # 100. Command name: VARIABLE LABELS
This command is not permitted before the beginning of file definition
commands.
Execution of this command stops.
q002001 'How do you feel?'
scode 'scode'
id 'id'
starttime 'starttime'
duration 'duration'
completed 'completed'
.
VALUE LABELS q001001 1 'a' 2 'b' 3 'c' 4 'd' 5 'e'
Error # 100. Command name: VALUE LABELS
This command is not permitted before the beginning of file definition
commands.
Execution of this command stops.
/q002001 1 'f' 2 'g' 3 'h' 4 'j' 5 'k'
.
CACHE.
EXECUTE.
Error # 105. Command name: EXECUTE
This command is not valid before a working file has been defined.
Execution of this command stops.
_______________________________________________
Pspp-users mailing list
Pspp-users@gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users