Parsing XML, SOAP or JSON to COBOL structures or creating them from COBOL structures is easily possible with a dedicated development tool called XML Thunder. You can download XML Thunder Lite free of charge. Please see or contact me for more information. Proven solutions with many clients around the world.

Kind regards,

Peter Prager
Canam Software Labs, Inc.

-----Original Message-----
From: [] On Behalf Of cobol400-l-request@xxxxxxxxxxxx
Sent: Thursday, October 20, 2011 1:00 PM
To: cobol400-l@xxxxxxxxxxxx
Subject: COBOL400-L Digest, Vol 9, Issue 31

Send COBOL400-L mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of COBOL400-L digest..."

Today's Topics:

1. Re: COBOL XML Parser? (Phil Kestenbaum)
2. Re: COBOL XML Parser? (Austin, Mark)


message: 1
date: Wed, 19 Oct 2011 12:13:48 -0700 (PDT)
from: Phil Kestenbaum <pkestenbaum@xxxxxxxxx>
subject: Re: [COBOL400-L] COBOL XML Parser?

We have a unique solution for parsing from XML files directly to Cobol copy structures so that from the receiving Cobol program point of view it is completely transparent ? thus eliminating the
need for understanding XML or in any way taking into account the fact that the input data source stems form an XML protocol.
We are distributing this freely.
The IBM supplied so called "parser" will not provide what you need.?It just runs a loop on the XML content ? the main issue is correctly converting this unstructured data for
for further downstream processing .

From: "RMiklos@xxxxxx" <RMiklos@xxxxxx>
To: COBOL Programming on the iSeries/AS400 <cobol400-l@xxxxxxxxxxxx>
Sent: Wednesday, October 19, 2011 9:35 AM
Subject: Re: [COBOL400-L] COBOL XML Parser?


I tried XML PARSE some years ago and had problems with encoding of XML
In that time I have posted some questions in this mailing list:
and at Tek-Tips:
You can find an example in the ILE COBOL Programmer?s Guide

Since then I solved the problem with encoding. I have now a working
example, but I never used XML PARSE in production.
I used in production only XML GENERATE



19.10.2011 10:23
[COBOL400-L] COBOL XML Parser?
Sent by:


I've been looking for something to parse simple XML-files into DB2-files,
and in I find this:

'COBOL has an XML parser built in starting with V5R3.'

Anyone of you who have used this - or can direct me to examples of use?

Mvh. / Regards / Terveisin


"Keep it simple!"

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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

This mailing list archive is Copyright 1997-2022 by 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.