Hi,
I have a stock file giving the counts of seven tables from database
File1
Stock 000005 000005 000005 000005 000005 000005 000005
The second file is generated to hold the record counts of 7 existing files using ICEMAN
File 2
A 000005
B 000006
C 000007
D 000005
E 000006
F 000005
G 000005
File 1 has only a single row and seven columns.
File2 has seven rows.
I have to read file 1 and for every column in file 1, I have to match with the second column of every row of file 2. If the values do not match, I need to write both the values to the output file.
Expected Output:
B 000005 000006
C 000005 000007
E 000005 000006
Basically requirement is to create a mismatch file.
Please clarify on this.