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
[COBOL400-L] COBOL XML Parser?
I've been looking for something to parse simple XML-files into DB2-files,
and in midrange.com 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.