Hi Pravin27,
Thanks Pravin27 for your reply , but Sorry , what I wanted is , if the sum total of the particular named person amount is equal to or greater then the given total (
say in my example >= 3000000), then print all the detail , I am trying to get back the all details by the last line of my code where I have put # at present ,but failed to get the correct data .
(1) By using array I am sorting the data where the DOB and Name are same and if the person's name is repeated then only those records are extracted.
(2) Using awk to sum the Amount ,
(3) After the summing, I want the full details if the sum amount is equal to or
greater then the replied in the begining of the code.
So I wanted if any one can show where I am making mistake?