I have a requirement in which I have to compare today's and previous day's file.
The file LRECL is 479
If the record is new in today's file then I need to write to a output file of the same LRECL with a CODE 'A' in the 470th position. If a record in previous day's file is not present then I need to write to the same output file with the CODE 'D' in the 470th position. Also if the record in previous day's file of the same key doesn't match with the record in today's file then the output file should be written with the Code 'C' in 470th position.
There will be no duplicates in the file. Also the keys will be the first 38 bytes
Please let me know if we can write an ICETOOL for this
Thanks in advance