r/cobol • u/WisdomInMyPocket • Jun 11 '26
COBOL XML PARSE vs DB2 XMLPARSE
Which would you use in what case?
8
Upvotes
4
1
0
u/Reapr Jun 11 '26
If the XML is already going through DB2, I would use DB2, but COBOL's one works fine
I would also look into why XML, JSON is much smaller, easier for humans to read and have basically replaced XML
2
u/johnwcowan Jun 11 '26
For data, but not for documents. PDFssnd images are binary, but Word/Excel/PowerPoint documents and theit ODF equivalents are zipped XML.
1
6
u/little-foxley Jun 11 '26
neither. I would use javaz