Maximum value of Date
Posted: Fri Oct 26, 2007 4:38 am
Im trying to find out the maximum date by grouping Cus_code (A1,A2,A3..)from the following (.csv file)
using IBM Websphere Datastage(8.0) [parallel Job]
Source Data is like....
A1,2005-06-03,pending,2500
A1,2004-05-04,ok,3400
A1,2004-05-04,pending,4070
A3,2005-06-03,ok,5016
A2,2008-06-03,not ok,6908
A1,2004-05-04,clarified,7854
A1,2005-06-03,reverted,10692
A2,2004-05-04,not ok,11638
A3,2012-06-03,clarified,12584
A1,2030-05-04,pending,13530
The Metadata for the Source is :-
Cus_code Varchar(10)
Update_dt Date
Status Varchar(15)
Amount Decimal
How this can be implemented? whether aggegator can be used?
Please Help me in this regard
Thanks in Advance
Sivaram
using IBM Websphere Datastage(8.0) [parallel Job]
Source Data is like....
A1,2005-06-03,pending,2500
A1,2004-05-04,ok,3400
A1,2004-05-04,pending,4070
A3,2005-06-03,ok,5016
A2,2008-06-03,not ok,6908
A1,2004-05-04,clarified,7854
A1,2005-06-03,reverted,10692
A2,2004-05-04,not ok,11638
A3,2012-06-03,clarified,12584
A1,2030-05-04,pending,13530
The Metadata for the Source is :-
Cus_code Varchar(10)
Update_dt Date
Status Varchar(15)
Amount Decimal
How this can be implemented? whether aggegator can be used?
Please Help me in this regard
Thanks in Advance
Sivaram