You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to read a file which has the following
07 IM-LKUP-LM-HH-MM-SS PIC S9(7) COMP-3.
The resulting value for each record is coming up with a value thats 3 more than expected.
For instance instead of seeing 131444 - its resulting in 131441
Happens for every single record - all other fields are being parsed correctly - this is the only COMP field.
Added the following option
.option("debug", "hex")
and I see
{131441, 0131441F}
Here is what I see in the file using a hex editor: (ignore double quotes)
"��à�"
Any idea why this is happening and how to fix it.
Is this because of an unsigned COMP field and the sign value should be ignored but the code is somehow including it in the value?
The text was updated successfully, but these errors were encountered:
I think we figured out the issue. The file record format is U (undefined)
Does Cobrix support this.
The first field(s9999 Comp-3) defines how many bytes the record is….
Trying to read a file which has the following
07 IM-LKUP-LM-HH-MM-SS PIC S9(7) COMP-3.
The resulting value for each record is coming up with a value thats 3 more than expected.
For instance instead of seeing 131444 - its resulting in 131441
Happens for every single record - all other fields are being parsed correctly - this is the only COMP field.
Added the following option
.option("debug", "hex")
and I see
{131441, 0131441F}
Here is what I see in the file using a hex editor: (ignore double quotes)
"��à�"
Any idea why this is happening and how to fix it.
Is this because of an unsigned COMP field and the sign value should be ignored but the code is somehow including it in the value?
The text was updated successfully, but these errors were encountered: