Example 2 using UPDATE command
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | * example update file command.sps DATA LIST LIST /id v1 v2. BEGIN DATA 1 2 1 2 10 0 3 8 0 4 6 5 8 6 7 7 10 8 2 END DATA. SAVE OUTFILE='c:\\temp\\master.sav'. DATA LIST LIST /id v1 v2. BEGIN DATA 4 . 0 5 . 1 8 . 1 END DATA. SAVE OUTFILE='c:\\temp\\transact.sav'. UPDATE FILE='c:\\temp\\master.sav' /FILE='c:\\temp\\transact.sav' /BY=id. LIST. |
Related pages
...