Let say your variables have got names: age, income, height and they are same type (numerical or string with same lenght), do Restucturing variables into cases. Additionally add the index and id to know which case and variable originally it was.
Code: Select all
VARSTOCASES /ID = id
/MAKE trans1 FROM age income height
/INDEX = Index1(3)
/NULL = KEEP.