Good workaround. For anyone interested:
- as Ben points out, no need for SAVE and GET. Use ADD FILES or MATCH
FILES instead: ADD FILES FILE=* /KEEP={unconcerned variables} reordered
variables {unconcerned variables} .
- the first {unconcerned variables} can have the form {first variable
in
Thank you for the clarification. This is a pity as the command was
simple and helpful.
My workaroung was:
GET FILE="C:\Users\data\xx.sav".
SAVE OUTFILE="C:\Users\data\xxreordered.sav"
/KEEP
{unconcerned variables}
reordered variables
{unconcerned variables} .
GET FILE="C:\Users\data\xxreorder
MODIFY VARS was removed in version 2.0.0 because it is not part of
SPSS. The manual you are looking at must be for an older version of
PSPP.
You can use ADD FILES to reorder variables:
https://www.spss-tutorials.com/spss-reorder-variables-with-syntax/. (I
haven't tried this, but it should work. If