× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Mike,

ILE COBOL supports XML file creation.  I would advise asking this question
again, but on the COBOL list.

From the ILE COBOL Language Reference manual:

V5R3 added;

XML support

XML PARSE statement provides the interface to a high-speed XML parser that
is part of the COBOL run time. The XML PARSE statement parses an XML
document into its individual pieces and passes each piece, one at a time, to
a user-written processing procedure.

These XML special registers are used to communicate information between the
XML parser and the user-written processing procedure:

  - XML-CODE
  - XML-EVENT
  - XML-NTEXT
  - XML-TEXT

V5R4 added;

XML support has been enhanced. A new statement, XML GENERATE , converts the
content of COBOL data records to XML format. XML GENERATE creates XML
documents encoded in Unicode UCS-2 or in one of several single-byte EBCDIC
or ASCII CCSIDs.

HTH



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.