FLIP

FLIP transposes the rows and columns of the data in the active dataset so that, for example, row 1, column 2 becomes row 2, column 1, and so forth.

FLIP [VARIABLES= {ALL    }] 
                 {varlist}
 
     [/NEWNAMES=variable]

This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.

Syntax for the FLIP command can be generated from the Transpose dialog.

Example

FLIP.