Hi, I have the following spec. in my code.
In my RPGLE Iam using SORTA over SortKey field. But this is not working correctly for negative sign. I mean if field Req1 has any negative data, the sorting isn't correct. Please help.
Code:
D DS Inz D Rcd 103 DIM(9999) DESCEND D SortKey 25 OVERLAY(Rcd:1) D Key1 10 OVERLAY(Rcd:1) D Req1 15 2 OVERLAY(Rcd:11) D NVal1 15 4 OVERLAY(Rcd:26) D CVal1 10 OVERLAY(Rcd:41) D KeyD1 50 OVERLAY(Rcd:51) D Opt1 1 OVERLAY(Rcd:101) D Dlt1 1 OVERLAY(Rcd:102) D Mlt1 1 OVERLAY(Rcd:103)








Comment