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\xxreordered.sav".

Le 19/08/2024 à 02:00, Ben Pfaff a écrit :
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 it doesn't, please let me
know.)

On Sun, Aug 18, 2024 at 2:26 PM ft gmail <public....@gmail.com> wrote:
Hi,

I want to reorder variables to reuse the syntaxt for another data set
for a new one.

I get the following error message:

C:\Users\....sps:1.4-1.9: error: Unknown command `MODIFY'.
      1 |    MODIFY VARS
        |    ^~~~~~
Modify Vars is listed in the Online PSPP Manual.
http://gnu.ist.utl.pt/software/pspp/manual/html_node/MODIFY-VARS.html

So, I don't understand why PSPP declares it unknown.

Any help appreciated.

Thanks in advance

ftr



Reply via email to