AbsaOSS / cobrix

A COBOL parser and Mainframe/EBCDIC data source for Apache Spark
Apache License 2.0
138 stars 78 forks source link

comp-3 values parsing issues #679

Closed sree018 closed 5 months ago

sree018 commented 5 months ago

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

yruslan commented 5 months ago

Hi,

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?

sree018 commented 5 months ago

Hi @yruslan

It's our copy book issue, we adjusted copybook and working fine right now