support: Customer Portal
Focused on delivering choice, investment protection and flexibility to organizations with valuable COBOL assets

Veryant Knowledge Base
Home > All Categories > XML > What are all of the options for a COBOL program to read and write XML files?
Question Title What are all of the options for a COBOL program to read and write XML files?

My program uses AcuXML to write out an XML file by treating XML as a file system replacement. My program creates and writes the file just as if it was an indexed file, but AcuXML writes it out as XML behind the scenes.
Do you have such a technology?
What are all of the options an isCOBOL program to read and write XML?


isCOBOL fully supports the IBM COBOL XML PARSE and GENERATE syntax and provides an internal object named com.iscobol.rts.XMLStream that allows a COBOL program to easily read and write XML files and streams. XML PARSE/GENERATE and XMLStream are documented in the isCOBOL Language Reference Manual, and example code for XMLStream is provided in the sample directory installed with isCOBOL (i.e. sampleissampless-objectsxml.cbl)

In addition, isCOBOL gives COBOL programs the full array of XML APIs and tools available to a Java programmer ( and 

For example, to parse local XML files or XML from a URL a COBOL program can take advantage of a Java package named JDOM (

isCOBOL supports also the the C$XML routine that allows to deal with XML documents. It allows to parse documents and change their content as well as create new documents from scratch.

Authored by: Veryant Support This question has been viewed 11103 times so far.
Click Here to View all the questions in XML category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
How helpful was this article to you?
User Comments User Comments Add Comment
There are no user comments for this question. Be the first to post a comment. Click Here
Related Questions Related Questions
  1. What is the best way to retrieve XML via HTTP?
  2. Can you recommend an XML editor?
Article Information Additional Information
Article Number: 92
Created: 2009-09-02 2:15 PM
Rating: 2 Stars
Article Options Article Options
Print Question Print this Question
Email Question Email Question to Friend
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
Bookmark Article
Subscribe to Article Subscribe to Article
Search Knowledge Base Search Knowledge Base


© Veryant - All Rights Reserved
Veryant and isCOBOL are trademarks or registered marks of Veryant in the United States and other countries. All other marks are the property of their respective owners.