littlepiglet
Programmer
Howdi and know how to do this the rudimentary way but woul like some ideas on more refined ways to doing this
I get some data from a database and read it into a binary data file with each "record" being of size 900 bytes.
Now each record translate out to about 70 data fields.. I mean record A could contain priceA (type float), priceB (trice int), priceC (type double), TkrName( type char) etc..
What I want to do is COMPare two records from two different files and return to a user if they are any differences and where exactly the differences lie/are
the way Iw as coding this was writing out for each record all the data fields to a file and then doing the same for the other file and using the unix diff utility but this is kind of basis, thanks for the help
piglet
I get some data from a database and read it into a binary data file with each "record" being of size 900 bytes.
Now each record translate out to about 70 data fields.. I mean record A could contain priceA (type float), priceB (trice int), priceC (type double), TkrName( type char) etc..
What I want to do is COMPare two records from two different files and return to a user if they are any differences and where exactly the differences lie/are
the way Iw as coding this was writing out for each record all the data fields to a file and then doing the same for the other file and using the unix diff utility but this is kind of basis, thanks for the help
piglet