Skip to content

Record length columns cannot be used when strict_integral_precision=true #763

@yruslan

Description

@yruslan

Describe the bug

This is because when strict_integral_precision = true integral fields become decimal.

Nothing prevents from using decimals for record length, especially when scale=0.

Originally described here: #750

Code snippet that caused the issue

--

Expected behavior

Record length fields should work with decimal fields.

Context

  • Cobrix version: 2.8.3

Copybook

         01  RECORD.
           05  REC-LEN    PIC S9(4).

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