* Taking 2 columns and stacking them. *col1 mean your first variable - you must put the names of your variables in for col1 & col2. * the data is put into a new file c:\temp.sav. *After you run this, open temp.sav and sort on pop. vector test1= col1 to col2. loop pop = 1 to 2. compute response =test1(pop). xsave outfile ='c:\temp.sav' /keep pop response. end loop. execute.