Output
Emp Date sal
01 01022010(min date) 8
02 05022010(min date) 13
In the above input the date field should be the minimum date for emp 01 and salary should be the summation of all the records of emp 01 or 02 respectively
Please do help me in achieving the output file as showm above.
Hi Frank Thanks for giving me the solution. Actually i tried doing the same with some more fields but didnt got the output. Will it be possible for you to ellaborate what exactly the fields are doing. Also i am a attaching the new input and output file, can you give output for this even. Thanks in advance.
Apologize i didnt mention it clearly. Thanks for looking into my concern.
In the above input the date field should be the minimum date for all the Branch and agent and salary should be the summation of all the records of Branch 122 and 251 respectively. Please have a look at the below input and output structure.
Note: There should not be space between any two fields. Unfortunately if there seems to have any space could you tell me where exactly I have to change.
Please do help me with this issue. Do let me know if you have any concerns.
I asked this question earlier but my post got deleted...I am asking again.
In the date field what does '3' in front of date indicate?
Also
Quote:
In the above input the date field should be the minimum date for all the Branch and agent and salary should be the summation of all the records of Branch 122 and 251 respectively.
here you said you wanted minimum input date for branch and agent but then you said salary should be summation of all the records for branch 122 and 251????
What if there is one more agent code for 122 or 251?