Hi Ruben,
This question has been around a few times:
For example:
https://groups.google.com/forum/#!topic/comp.soft-sys.stat.spss/AQpTj_MOHpI
But nobody responded with a working example; A tutorial would be much appreciated. I think with the methods you suggest the problem remains how to create an automatic loop that knows when to stop concatenating when a new variable appears. Because
Variable1 Label1 Value1
Variable1 Label2 Value2
Variable1 Label3 Value3
Variable2 Label1 Value1
Variable3 Label1 Value1
Variable3 Label2 Value2
Should become
value labels variable1 value1 "label1" value2 "label2" value3 "label3".
value labels variable2 value1 "label1".
value labels variable3 value1 "label1" value2 "label2".
And not
value labels variable1 value1 "label1".
value labels variable1 value2 "label2".
value labels variable1 value3 "label3".
...
The latter wouldn't work.
cheers,
F
Op donderdag 24 juli 2014 18:50:47 UTC+2 schreef Ruben Geert van den Berg: