I want run SPSS control file from PISA 2012 data set into SPSS. But I am not able to run the .txt file into .sav file. Anyone have an idea how to run it?
I would have to see your .txt file to be sure, but an easy way around could be to open the .txt in Excel: there you can specify your decimal and column delimiters etc. and then save it as Ecxel file. After that, SPSS should be able to read it.
This is a SPSS syntax command to define variable names, labels and missing values etc. to the .txt file C:\XXX\INT_STU12_DEC03.txt". Have you tried to run this syntax in the SPSS syntax window? Did you get any error message? If yes, try to run only the first part have a close look at the error message if there is any. Error messages in SPSS are quite helpful.