COBOL XML Processing

COBOL Training Overview

First, we give a brief overview of the components of an XML document.

Second, we describe how COBOL Produces XML output

  • Generating XML output
  • Handling XML GENERATE exceptions
  • An example of Generating XML
Third, we describe how COBOL Processes XML input
  • Parsing XML documents
  • Handling XML PARSE exceptions
  • An example of Parsing XML
COBOL Training Learning Objectives

As a result of the class, the student will be able to -
  • Describe the major components of an XML document
  • COBOL XML GENERATE verb to produce an XML document
  • COBOL XML PARSE verb to process an XML document
COBOL Training Audience

This course is intended for experienced COBOL programmers / analysts who must understand, design, code, test, and debug COBOL programs to produce as output and process as input XML documents.

COBOL Training Prerequisites

Six months experience working with COBOL is required.
No previous XML experience is needed; although will be helpful.


COBOL Training Course duration

1/2 day

COBOL Training Course outline

Course Introduction

1. Describe the major components of an XML document
  • "Tags" within the document
  • Complete document
  • Validating an XML document
2. COBOL XML GENERATE verb to produce an XML document
  • Generating XML output
  • Handling XML GENERATE exceptions
  • Review an example of Generating an XML document
  • Hands-on workshop
3. COBOL XML PARSE verb to process an XML document
  • XML parser in COBOL
  • Accessing XML documents.
  • Parsing XML documents
  • Handling XML PARSE exceptions
  • Review an example of Parsing an XML document
  • Hands-on workshop
Appendices

A. XML Overview

B. Enterprise COBOL z/OS V4.2 Programming Guide
  • Chapter 28. Processing XML input
  • Chapter 29. Producing XML output
C. Enterprise COBOL z/OS V4.2 Programming Reference
  • Chapter 3. Character-strings
  • Chapter 21. Procedure division statements


Wintrac Inc.
16523 SW McGwire Ct.
Beaverton OR 97007
Wintrac, Inc. All rights reserved.                                                                               Site Map   |   Terms of Use   |   Privacy Policy