Q

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.
This was first published in March 2005

Dig deeper on Mainframe operating systems and management

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchWindowsServer

SearchEnterpriseLinux

SearchServerVirtualization

SearchCloudComputing

Close