-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataType SVP9(15) is converting the value to Decimal(16,0) instead of Decimal(16,16) #502
Comments
Hi @yruslan Can you help us understand this. |
This is probably a parser issue will take a look. I have a question regarding scaling though. Shouldn't 'SVP9(15)' produce values like '0.012345' since 'P' indicates scaling. I'd expect: (see the spec) at word "his scales the value DOWN" |
Hi @yruslan , |
We will take a look, so far looks like a bug. |
Hi, we are in the progress of fixing the bug. However, I've found a quick workaround. |
Hi @yruslan , Thanks for the update. |
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.
The text was updated successfully, but these errors were encountered: