< hex。使用COBOL的XML生成标签的前缀

发布于 2025-02-05 19:22:39 字数 122 浏览 2 评论 0原文

有人可以建议吗?

< hex.nm>输出XML是由< hex.nm>生成

  04 Dbtr. 
    05 Nm PIC X(140).

Can someone please suggest?

<hex.Nm> The output xml is generated with <hex.Nm>, not sure what is the issue with the copybook declaration below,

  04 Dbtr. 
    05 Nm PIC X(140).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

最初的梦 2025-02-12 19:22:39

您不会向我们展示您的代码,但是我猜您在XML生成语句中没有编码“异常”短语,而是触发了417的XML-Code,该XML代码为已记录为...

元素字符内容或属性值包含字符
XML内容是非法的。 XML的一代一直在继续,
元素标签名称或属性名称带有“十六进制”。和
十六进制中文档中表示的原始数据值。
任何类型的内容规范都被忽略,并且该项目将被处理
作为元素。

IBM关于其大型机产品的文档非常好。值得您熟悉它。这些产品都不小。抽出时间学习在哪里以及如何记录事物将为您提供良好的服务。实际上,每次遇到意外的事情时,都要在互联网上发布问题要好得多。

You don't show us your code, but I'm guessing you didn't code an "On Exception" phrase in your XML Generate statement, and triggered an XML-CODE of 417 which is documented as...

Element character content or an attribute value contained characters
that are illegal in XML content. XML generation has continued, with
the element tag name or the attribute name prefixed with 'hex.' and
the original data value represented in the document in hexadecimal.
Any TYPE IS CONTENT specification is ignored, and the item is treated
as an element.

IBM's documentation for their mainframe products is pretty good. It's worth your time to become familiar with it. None of these products is small. Taking the time to learn where and how things are documented will serve you well. Much better, in fact, than posting a question to the Internet every time you encounter something unexpected.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文