Hi,
I have two files :
File1 :-
----+----1----+----2----+----3----+----
***************************** Top of Da
ACA0056 AU10010000880CLASEC
ACA0082 AU10010000880CLASEC
KOP0114 AU10010000830CLAOPR
WGS0202 AU10010000830CLASUP
KOP0140 AU10010000830CLAOPR
File 2 :-
----+----1----+----2----+----3----+----4----+
USERID: WGS0196 VIG, VIVEK WGS0BB
USERID: WGS0202 PRATHIGUDUPU, RAJ KI WGS0BB
USERID: WGS0207 TONG, WING YIN WGS0HK
Now my requirement is to combine these two files into a new file according to KEY that is userid E.g WGS02202. The matching record should be copy into a new file as shown below:-
Ouptput file:
WGS0202 AU10010000830CLASUP PRATHIGUDUPU, RAJ
and non-matching should be rejected.