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
The number of bytes a PIC S9(m) COMP-3 takes is (m+1)/2. So the number of bytes used for 9(2) and a 9(3) are the same. The last nibble of the byte will contain the "sign" of the value. Mainframes can implicitly deal with this but you have to explicitly change the value for the serde to handle it.
SERDE should create length as 2 for S9(2) COMP-3. Currently it is creating a length of 1.
The text was updated successfully, but these errors were encountered:
@datawarlock@josephlim75@ankravch@tejasbharambe I have updated the code to resolve this issue in the branch Issue#18. I have also added test cases. Would you be able to download compile and test the code if it works as expected. If u could confirm the changes looks good, I can merge the Issue#18 branch to Main branch. Thanks in advance for all the help.
The number of bytes a PIC S9(m) COMP-3 takes is (m+1)/2. So the number of bytes used for 9(2) and a 9(3) are the same. The last nibble of the byte will contain the "sign" of the value. Mainframes can implicitly deal with this but you have to explicitly change the value for the serde to handle it.
SERDE should create length as 2 for S9(2) COMP-3. Currently it is creating a length of 1.
The text was updated successfully, but these errors were encountered: