Author: Alks
Subject: Sort records based on numeric field.
Posted: Wed Oct 19, 2016 10:14 pm (GMT 5.5)
Hi,
I have a requirement where I have to sort the records based on the date difference.
Date difference in HEX form is as below:
I need to filter only those records, for which date differenece is say greater than or equal to +0000248
This is what I tried including some other modifications such as using ZD.
But it's just including all the records.
Any help would be really appreciated.
Code'd
_________________
Alks..!!!
Subject: Sort records based on numeric field.
Posted: Wed Oct 19, 2016 10:14 pm (GMT 5.5)
Hi,
I have a requirement where I have to sort the records based on the date difference.
Code: |
ABC 20161019 20160210 +0000252 DEF 20161019 20160216 +0000246 GHI 20161019 20160213 +0000249 |
Date difference in HEX form is as below:
Code: |
+0000252 4FFFFFFF E0000252 |
I need to filter only those records, for which date differenece is say greater than or equal to +0000248
This is what I tried including some other modifications such as using ZD.
Code: |
SORT FIELDS=COPY INCLUDE COND=(25,8,PD,GE,+0000248) |
But it's just including all the records.
Any help would be really appreciated.
Code'd
_________________
Alks..!!!