File1:
3111 252700 HEAD N X
3111 252800 HEAD N Y
3111 252800 HEAD N Y
File 2:
3111 252700 HEAD J
3111 252800 HEAD J
3111 252810 HEAD N
Output I am looking at is:
3111 252700 HEAD J X
3111 252800 HEAD J Y
3111 252810 HEAD N
3111 252800 HEAD J Y
3111 252810 HEAD N
Could you please help me on this. I tried to use join keys but didn't work.
SORT FIELDS=COPY
JOINKEYS FILES=F1,FIELDS=(6,7,A)
JOINKEYS FILES=F2,FIELDS=(6,7,A)
JOIN UNPAIRED,F1,F2
REFORMAT FIELDS=(F1:1,20)
JOINKEYS FILES=F1,FIELDS=(6,7,A)
JOINKEYS FILES=F2,FIELDS=(6,7,A)
JOIN UNPAIRED,F1,F2
REFORMAT FIELDS=(F1:1,20)