{'fraction_non_alphanumeric': 0.021170610211706103, 'fraction_numerical': 0.0024906600249066002, 'mean_word_length': 5.137404580152672, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Wrapping legacy COBOL programs behind an XML-interface

This paper describes the tools and techniques for encapsulating host COBOL programs with an XML interface. The legacy programs are divided into three classes - online programs, batch programs and subprograms. For each program type, a different wrapping technique and a different tool is employed. Online programs are transformed into data-driven subprograms which process an XML document. Batch programs are adapted to read and write XML documents. Subprograms are left unchanged, but their parameters are set from an XML document. By using XML to implement corporate portals, it has proven possible to reuse existing host programs within new intranet/Internet systems, thus reducing system development costs and development time by more than 60%.