使用任何开源代码或工具将Mainframe Binary转换为Ascii [英] Convert Mainframe Binary to Ascii Using any Open Source Code or Tool

查看:318
本文介绍了使用任何开源代码或工具将Mainframe Binary转换为Ascii的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用任何Java API或开源工具将包含cobol copybook作为记录布局信息的大型机二进制文件(EBCDIC)转换为包含打包和分区十进制格式的文件?

解决方案

用Java读取



如果你想在java中读取Mainframe Cobol文件,请看看






  • 注意:我是JRecord / RecordEditor的作者


    How can I convert a mainframe binary file (EBCDIC) having cobol copybook as record layout information to ASCII file by keeping in mind regarding the packed and zoned decimal format using any Java API or Open source tool?

    解决方案

    Reading in Java

    If you want to Read Mainframe Cobol Files in java, have a look at

    • JRecord - You will have to specify the charset (font). For US EBCDIC use CP037.
    • Legstar - Have variety of Mainframe - Cobol Tools
    • CB2java - Has not been updated in a while (not supported any more and has problems)

    Also the RecordEditor will let you view / Edit Mainframe Cobol Files

    Conversion Utilities

    For simple Cobol files these conversion utilities (based on JRecord) could be used:

    RecordEditor

    The RecordEditor has a Generate option for generating Java / JRecord code. See RecordEditor Code Generation notes

    Note: I am the author of JRecord/RecordEditor

    这篇关于使用任何开源代码或工具将Mainframe Binary转换为Ascii的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆