Sort Variables By Alphabetical Order
1 2 3 4 5 6 7 8 9 10 | GET FILE='C:\\Program Files\\SPSS\\1991 U.S. General Social Survey.sav'. N OF CASES 1 /* N OF CASES 1 is more efficient than SELECT IF $CASENUM=1 */. FLIP. SORT CASES BY case_lbl. FLIP. SELECT IF 1=0. ADD FILES FILE=* /FILE='C:\\Program Files\\SPSS\\1991 U.S. General Social Survey.sav' /DROP=case_lbl. EXECUTE. |
Related pages
...