Page 1 of 1
Extract a record from XML file using COBOL?
Posted: Fri Nov 14, 2014 11:16 am
by Raju Singh
Hello,
How to extract particular record from XML file using COBOL? Can we do that? The records are numeric.
Re: Extract a record from XML file using COBOL?
Posted: Fri Nov 14, 2014 5:32 pm
by Robert Sample
You can use XML PARSE in COBOL.
Re: Extract a record from XML file using COBOL?
Posted: Sun Nov 16, 2014 3:12 pm
by MartinPacker
Take a look at
http://www.redbooks.ibm.com/redpieces/a ... .html?open and I'd start with a simple example before heading towards a "production ready" one.
Re: Extract a record from XML file using COBOL?
Posted: Sun Nov 16, 2014 3:22 pm
by MartinPacker
At the risk of publicising my blog you might also want to try some of the techniques I write about using DFSORT. Use your favourite web engine with the terms "XML DFSORT".
Re: Extract a record from XML file using COBOL?
Posted: Mon Dec 01, 2014 4:47 pm
by Raju Singh
Thanks Martin. I looked at your blog too. So, do you suggest to use the 'parse' using DFSORT or using XML PARSE COBOL as Robert has suggested to use? Please suggest.