A 10 Minute Guide on "XML parser versus Thunder Suite"

📅 March 26, 2021
Phil Ly Phil Ly

Understanding XML Parser versus Thunder Suite

XML Logo

What is the difference between using Thunder Suite and an XML parser? Thunder Suite and XML parsers can both provide the ability to parse an input XML document, but they differ a lot in functions and features, especially when it comes to COBOL application development.

XML Parsers

Fix It

Sample DOM API Calls

XML parsers still require custom programming logic to navigate a given XML document and extract data values for processing. A parser simply makes an XML document available in memory, and its API — such as Document Object Model (DOM) or Simple API for XML (SAX) — can be used by custom application programming logic to obtain the XML data values. The parser simply raises programming events that need to be handled by programming logic. The larger and more complex the XML document is, the more complex the application logic will be. Logic branching for XML Choice, Namespaces, and optional vs. required XML nodes are just some of the challenges a developer will face. Complex decision trees and nested repeating structures (i.e. XML branches) also have to be accommodated.

XML Parsing

Calling an Thunder Suite Reader

Thunder Suite

Unlike XML parsers, Thunder Suite generates the subroutine code needed to handle the XML processing for you. It also generates the needed data structures to be loaded or read from. There is no API interfacing, except to CALL the subroutine, from either COBOL or C programs. It hides all the complex XML processing from the calling program.

So which should you use?

If you are writing Java or C++ code and are comfortable with XML, then XML parser would be an option to explore, since it is quite accessible in those environments. On the other hand, if you require XML handling in your COBOL, C or TAL programs on the NonStop, then Thunder Suite will make your job a lot easier.

← Back to Blog

Feedback Please


Phil Ly

Phil Ly is the president of TIC Software, a leading provider of software and services for the NonStop community focused on NonStop application modernization. Under Phil's guidance, TIC Software has a proven track record of helping clients seamlessly integrate NonStop with next-generation technologies. A recognized technical leader, Phil is passionate about empowering organizations to unlock the full potential and longevity of their NonStop platform through innovative solutions.