07-27-2017 6:29 AM
I have a requirement to unpack the Comp-3 decimal format COBOL file in ABAP. Can someone please let me know if it is possible? If yes, how?
08-01-2017 8:30 AM
09-19-2017 9:17 AM
I recently did it the other way around, integer to comp-3, see the code here https://gist.github.com/larshp/62fa3070d506f39cea33722d1efa2d7b
It should work just assigning the hex value to the packed number
01-18-2022 8:49 AM
Hi Lars Hvam san
I’m looking to convert cobol zoned data to hexa in SAP Abap. Could you please gudie me how to do in coding.
For example
I have input decimal : -1234
for that I want to get hex value F1F2F3D4
and EBCDIC value 123M.
https://www.mainframebug.com/tuts/COBOL/module5/Top9_Packed_Decimal_and_Zoned_Decimal.php
Thanks and Regards
Shan