I need to compare two files. One file contains the sequence number. Other contains header, data and trailer.
Header contains the sequence number and trailer contains the total number of records.
Sequence number file is 5bytes length. Ex. 12345
Details of second file:
First i need to validate the sequence number and if matches, then i need to validate the trailer count whether the number of records read matches with the trailer count.
Currently I'm using a PLI program to do the above. Is it possible to do the above using SYNCSORT tool. Is that an efficient way?
FYI... My environment dont have DFSORT installed. We have only SYNCSORT v1.1