I have two files that I am writing two. Both files have the same field definitions as one is a live file and one is a history file. So the history file will be built up and the live file cleared each day.
When I write to the live file I first need to check if the record exists in the history file, if it does, I need to check if anything has changed by checking each field against the incoming data.
So, is there an easy way to compare lets say two record formats rather than checking field by field.
Hope this is not a silly question. Been away from RPG for a bit.
Thanks
When I write to the live file I first need to check if the record exists in the history file, if it does, I need to check if anything has changed by checking each field against the incoming data.
So, is there an easy way to compare lets say two record formats rather than checking field by field.
Hope this is not a silly question. Been away from RPG for a bit.
Thanks
Comment