Hello everyone,
Once again a very basic question (sorry).
I have a number of SPSS files for which I want a list of the fields.
Let's say there are 2 files where the first one has field A, B, C and the second has B, D, E then my result would be
I wrote a very simple batch macro for this (cf below & attached). I think it gives a good idea of what I'm trying to achieve.
However, I'm not really sure how to fuel it.
Could someone please give a helping hand?

Thanks,
Mikis