I am trying to import several SPSS files into Stata using the import spss command. With two particular files, I encounter errors which prevent me from importing. The first looks like this:
This error occurs even when I only try to import variables which I know to be strings from the file using the import spss dialog box.
When trying to import another SPSS file, I encounter this error:
Trying to import just the first observation from these files does not work either.
Strangely enough, the import spss dialog box variable preview displays all of the variables, so clearly Stata can access the file and its contents but can't import it. I don't have access to SPSS, so I can't open the files to see what the problem is.
Any help is appreciated.
Code:
. import spss using "file1.sav",clear note: invalid numeric format % note: invalid numeric format % note: invalid numeric format % note: invalid numeric format % note: invalid numeric format % note: invalid numeric format % error reading file r(692);
When trying to import another SPSS file, I encounter this error:
Code:
. import spss using "file2.sav",clear error reading file r(692);
Strangely enough, the import spss dialog box variable preview displays all of the variables, so clearly Stata can access the file and its contents but can't import it. I don't have access to SPSS, so I can't open the files to see what the problem is.
Any help is appreciated.
Comment