.Net、cobol、copybook
我有一个项目需要广泛使用仅以抄本形式存在的数据源。 例如,
01 CMT-COMM-MSTR-EXTRACT-RECORD.
05 CMT-FIXED-AREA-1.
10 CMT-COMMUNITY-RECORD-KEY.
15 CMT-ALTERNATE-KEY.
20 CMT-ALTERNATE-KEY-STATE
PIC X(02).
20 CMT-ALTERNATE-KEY-COMM
PIC X(08).
15 CMT-COMMUN-NBR.
问题是我是否必须为这些东西编写一个粗略的解析器,或者是否有人知道一些可以很好地为我处理这个问题的工具。 我基本上感兴趣的是要么使用 .Net 将其填充到 sql、oracle,甚至只是 xml 中。 由于我对这些东西一无所知,我只是担心我会错误地处理一些事情。 任何输入都会很棒。 谢谢
I have a project that is requiring extensive use of a data source that only exists as what appears to be a copy book. For instance,
01 CMT-COMM-MSTR-EXTRACT-RECORD.
05 CMT-FIXED-AREA-1.
10 CMT-COMMUNITY-RECORD-KEY.
15 CMT-ALTERNATE-KEY.
20 CMT-ALTERNATE-KEY-STATE
PIC X(02).
20 CMT-ALTERNATE-KEY-COMM
PIC X(08).
15 CMT-COMMUN-NBR.
The question is whether or not I have to write a crude parser for this stuff or if someone knows of some tools that will handle this nicely for me. I am basically interested in either stuffing it in sql, oracle, or even just xml using .Net. Seeing as I know nothing about this stuff, I just get worried I am going to handle something incorrectly. Any input would be fantastic. Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有很多用于此目的的工具:
COBOL copybook to XML
另一个 XML 的 COBOL 抄写本,带有一些 .NET 特定注释:
There are lots of tools out there for this purpose:
COBOL copybook to XML
Another COBOL copybook to XML with some .NET specific notes: