cancel
Showing results for 
Search instead for 
Did you mean: 

Sorting of data across data packets

Former Member
0 Kudos

Hi,

We have a requirement in which we need to sort the delta packets coming out of an ODS in a particular order. We specified the sort in the update rule of the target ODS. However this fails when there are multiple data packets. For E.g Let us say we need to sort by Date and we need the last date to go last. So if there are 3 dates in the same data packet, the update rule sort works fine. However if say the record for 25-Dec-05 is in packet 1 and for 23-Dec-05 is in packet 2, then the sort is ineffective and the 23-Dec-05 record becomes the last record.

Has anyone faced a similar issue ? Any suggestions ?

Thanks

Shailesh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

> Hi,

>

> We have a requirement in which we need to sort the

> delta packets coming out of an ODS in a particular

> order. We specified the sort in the update rule of

> the target ODS. However this fails when there are

> multiple data packets.

> Has anyone faced a similar issue ? Any suggestions ?

>

> Thanks

> Shailesh

There are basically two options:

1. You can raise the InfoPackage size so that you get all your data into one request.

2. Create a start routine that selects the ODS data itself and puts packages with the right size. (If it's not too big put all the data into one package.)

Best regards

GFV
Active Contributor
0 Kudos

You are right ... sort operation works not fine with Data Pacakge, but I'm afraid that you should give some more info to obtain a suggestion. I would say that you can operate with SQL (e.g. SELECT MAX ...) but it depends on you business scenario.

Best Regards

GFV