Ask the Expert

Does Enterprise COBOL process XML documents?

Can Enterprise COBOL encode (as well as decode) XML documents? That is, can I take a COBOL data structure and convert it to XML for it to be returned to a calling program? If not, is there a projected date for this feature?

    Requires Free Membership to View

It sure can! To create an XML document from a COBOL data structure, use
XML GENERATE document FROM datastructure
You can also process input XML in COBOL using XML PARSE. It is all described in the COBOL Language Reference Manual and COBOL Programming Guide. I did a SHARE presentation on XML; you can see the slides of it at the bottom of this page.

This was first published in March 2005

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: