Skip to content

Parsing Cobol Types of pattern: SVP+S+ COMP-3 #837

@Jake130

Description

@Jake130

Background

Hello, I encountered an error trying to parse a copybook field and was curious whether it is due to a parsing issue or configuration error on my end. The field is of type PIC SVPP9(5) COMP-3.

I looked into past issues and saw #502 addressed a similar pattern, though it may have only been tested with types that had one P-symbol after the V-symbol.

Example

For the binary representation 0x06547C I have these results:

  • Expected Value: 0.0006457
  • Returned Value: 0.0000655

Question

Is this error being replicated? If so it may be a bug, if not is there a configuration option I should apply to correctly parse this field?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions