Problem solve Get help with specific problems with your technologies, process and projects.

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?
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.

Dig Deeper on IBM system z and mainframe systems

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.