Ok, thank you for the syntax and its explanation. But please don't mind
that for me - just a simple click, paste and modify guy - this syntax
is not easy to have in mind if I would like to match files in a hurry.
Then I will use R Commander instead. There I have only to click and it
works. :-)
Oliver Walter
Am 20.01.2017 um 00:20 schrieb Alan Mead:
get file = 'c:\whatever\file1.sav'.
execute.
sort cases by MyKeyVariable.
compute dum1=1.
execute.
save /outfile = 'c:\whatever\file1.sav'.
get file = 'c:\whatever\file.sav'.
sort cases by MyKeyVariable.
compute dum2=1.
execute.
save /outfile = 'c:\whatever\file2.sav'.
match files file = 'c:\whatever\file1.sav'
/file = 'c:\whatever\file2.sav'
/by MyKeyVariable
/map .
recode dum1 dum2 (SYSMIS=0).
execute.
compute dum=dum1+dum2.
freq / dum1 dum2 dum.
temporary.
select if( dum < 2).
print / dum dum1 dum2 MyKeyVariable lname fname .
execute.
_______________________________________________
Pspp-users mailing list
Pspp-users@gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users