File Comparison -Urgent
Posted: Mon Apr 09, 2007 7:33 pm
can anyone help me...
There are 2 files. Account nos followed by amount.
1. If the account number is present in both the files and the amount is different in both the files, take the account number from 1st or 2nd file and write the account number ONLY to the first output file.
2. If the account number is present in both the files and the amount is same in both the files, please take the account number from 1st or 2nd file and write the account number AND amount to the second output file.
3. If an account number is present in 1st and not in 2nd write ONLY the account number to the first output file.
4. If an account number is present in 2ndand not in 1st, please write ONLY the account number to the first output file.
Thanks,
Siva
There are 2 files. Account nos followed by amount.
1. If the account number is present in both the files and the amount is different in both the files, take the account number from 1st or 2nd file and write the account number ONLY to the first output file.
2. If the account number is present in both the files and the amount is same in both the files, please take the account number from 1st or 2nd file and write the account number AND amount to the second output file.
3. If an account number is present in 1st and not in 2nd write ONLY the account number to the first output file.
4. If an account number is present in 2ndand not in 1st, please write ONLY the account number to the first output file.
Thanks,
Siva