1 get file='personnel.sav'.
3 * Correct a typing error in the original file.
4 do if occupation = "Scrientist".
5 compute occupation = "Scientist".
9 variables = occupation into occ
12 * Delete the old variable.
13 delete variables occupation.
15 * Rename the new variable to the old variable's name.
16 rename variables (occ = occupation).
18 * Inspect the new variable.
19 display dictionary /variables=occupation.