It's always a good idea to open and save data files with syntax. Like so, it can be readily seen which syntax was run on which data. One could use the syntax generated by "Paste" for this but there's a much shorter and better option.
Read more...SPSS FORMATS command is mainly used for setting decimal places for numeric variables. FORMATS also displays SPSS date and time values properly. This tutorial will briefly demonstrate both uses.
Read more...DO REPEAT is the easiest way for looping in SPSS. Its main use is to basically apply a command to several variables at once.
Read more...