Closed sree018 closed 5 months ago
Hi,
120000000000000.00
in BCD format is 120000000000000C
, not 0C0000000000000C
.1.20
in BCD format is 0000000120C
, not 00000000C0C
.I'm wondering is this is some kind of a special encoding? Do you have more examples or maybe a link for the documentation about this format?
Hi @yruslan
It's our copy book issue, we adjusted copybook and working fine right now
Describe the bug
I am seeing null values instead of actual values for comp-3 datatypes.
copybook
COFF-INT-PAID PIC S9(15)V99 COMP-3. ITEM-ADD-AMT PIC S9(11)V99 COMP-3.
field name hex values output actual values COFF-INT-PAID 0C000000000000000C NULL 120000000000000.00 ITEM-ADD-AMT 00000000000C0C NULL 00000000001.20