View previous topic :: View next topic
|
Author |
Message |
creativity
New User
Joined: 10 Feb 2006 Posts: 3 Location: India
|
|
|
|
I have two files FILEA and FILEB. FILEA has LRECL = 170 while FILEB has LRECL = 30. Position 1-16 of both files refer to ID number. I need to created three output files in the following way.
OUTFILE1 should contain matching record of FILEA and FILEB,
OUTFILE2 should contain non matching record that appear only in FILEA
OUTFILE3 should contain non matching record that appear only in FILEB
e.g.:
FILEA :
11111111111111111111NAME1.........................
22222222222222222222NAME1.........................
33333333333333333333NAME1.........................
44444444444444444444NAME1.........................
55555555555555555555NAME1.........................
FILEB :
22222222222222222222
55555555555555555555
66666666666666666666
77777777777777777777
The output should be:
OUTFILE1
-----------
22222222222222222222
55555555555555555555
OUTFILE2
-----------
11111111111111111111
33333333333333333333
44444444444444444444
OUTFILE3
-----------
66666666666666666666
77777777777777777777
Please help me out in this. Its Urgent. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
Back to top |
|
|
|