Skip to content

DataType SVP9(15) is converting the value to Decimal(16,0) instead of Decimal(16,16) #502

@rohitavantsa

Description

@rohitavantsa

Hi @yruslan

We have a copybook with a field having datatype SVP9(15). When reading the file with cobrix we are expecting the value to be a decimal value with Decimal(16,16) but instead we are seeing Decimal(16,0) and also we are not seeing any decimal fields while checking the data. But our onprem is processing it as decimal fields .

expected Value : 0.123456789131230
but actual value in cobrix output is getting a INT.

Copybook:
01 TABLE_NAME.
10 random_field1 PIC X(05)
10 random_field2 PIC SVP9(15) COMP-3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions