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?
Hi,
I tried XML PARSE some years ago and had problems with encoding of XML
document.
In that time I have posted some questions in this mailing list:
http://archive.midrange.com/cobol400-l/200509/msg00002.html
and at Tek-Tips:
http://www.tek-tips.com/viewthread.cfm?qid=1101822
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
Regards
Roman
From:
<geir.kildal@xxxxxxxxxx>
To:
<cobol400-l@xxxxxxxxxxxx>
Date:
19.10.2011 10:23
Subject:
[COBOL400-L] COBOL XML Parser?
Sent by:
cobol400-l-bounces@xxxxxxxxxxxx
Hi.
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
Geir.
"Keep it simple!"
As an Amazon Associate we earn from qualifying purchases.