Well , thats Amazing, i would like to thanq for effort and spending some time in looking into my problem..
sorry to say , the solution works absolutely fine for the above data, but rather i have 2 more points as below.

* The file's shown is only an extract of large file, actual file has got 1 million records of which A9000 is one entry.
* The file1 and file2 and header contains different tables data, i have Appended one more set of data ..
How do i extend the same solution, Can we use Hash to store and then loop on differences?

i have one more requirement, the date field i should skip based on some position in another file, i can handle this one..
can i have some idea on the updated set of data, i will try my best to extend your solution.

In reply to Re^2: Delimited files Comparision by harishnuti
in thread Delimited files Comparision by harishnuti

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.