Hi
I have a requirement, where i use three files and create a single file with matching records across all the 3 files using a key field. pls find the layouts given for input files below.
----+----1
**********
0003 K3 A
0008 A5 D
0005 N1 X
1023 C2 L
----+----1----+----2--
**********************
0003 Vicky 01
0005 Carrie 03
0006 Carrie 04
0007 Vicky 02
0008 Holly 01
0015 Frank 01
0103 David 02
----+----1
**********
0003 ABCD
0005 MNQR
0006 PBAC
0008 MPQR
0007 XYZP
0015 STYU
0103 DEBM
i need to create an output file matching key value at pos 1 of length 4 across all files. my outut should look like
----+----1----+----2----+-
**************************
0003 ABCD K3 Vicky A 01
0005 MNQR N1 Carrie X 03
0008 MPQR A5 Holly D 01
i tried with KEEPNODUPS and WITHANY options in splice function of icetool. It is not giving me the expected output. could you pls suggest me if any option available in icetool.
Thanks.