Hi,
I am trying to compress signed number to comp-3 format using IBM sort
The input data is
+00000000000.04
+00000000000.05
+00000000000.06
+00000000000005
and cntl card is
OUTFIL FNAMES=SORTOF7,FTOV,VLTRIM=X'40',
INCLUDE=(1,3,CH,EQ,C'D06'),
OUTREC=(1,28,
29,15,SFF,TO=PD,LENGTH=8)
In the output file , all the numbers comes correctly except the ones ending with 5 .
0.04
0.06
When try to see hex value it gives as given below
44000000044
000000000C0
-----------
44000000044
00000000000
-----------
%
44000000064
000000000C0
Please help me understand what is special about 5 and why is it not getting converted to packed format using sort.