Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我开始了将 COBOL 程序转换为 Ruby 程序的新冒险,我必须将 aa comp-3/压缩十进制格式转换为数字。
从之前的另一篇文章中,有一些代码可以从数字转换为 comp-3,但不能反过来。
COMP-3 通常是 IBM 唯一的压缩十进制方法。过去我在将 IBM 上的压缩十进制转换为其他格式时遇到过问题。我通常必须将我的目标大小填充一个字节才能使大小匹配。
我不知道有任何 COMP 转换程序或实用程序可以帮助您。