Table of Contents


  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. Using the IntelliScript Editor
  7. XMap
  8. Libraries
  9. Schema Object
  10. Command Line Interface
  11. Scripts
  12. Parsers
  13. Script Ports
  14. Document Processors
  15. Formats
  16. Data Holders
  17. Anchors
  18. Transformers
  19. Actions
  20. Serializers
  21. Mappers
  22. Locators, Keys, and Indexing
  23. Streamers
  24. Validators, Notifications, and Failure Handling
  25. Validation Rules
  26. Custom Script Components

Testing a COBOL Parser

Testing a COBOL Parser

To test the COBOL Parser you need an input file that contains sample COBOL data. The data structure must conform to the data definition that you imported. The Parser transforms sample COBOL data to XML and you verify the output.
  1. In the
    view, double-click the COBOL Parser.
    The Parser appears in the script panel of the IntelliScript editor.
  2. Right-click the Parser name, and then click
    Set as Startup Component
  3. Expand the IntelliScript tree, and then edit the
    property of the Parser. Change its value from
    The wizard configures the COBOL Parser in a way that does not require an example source document. When you finish testing, you can remove the example source. The example source has no effect on the transformation at run-time.
  4. To assign an example file, expand the
    component by clicking the double right arrows
    . Double-click the
    property and browse to the input file that contains the sample COBOL data.
  5. In the
    Data Viewer
    panel, you can examine the example file. If the document does not display, right-click the Parser name in the IntelliScript, and click
    Open Example Source
  6. Click
    Run Data Viewer
    to test the Parser.
  7. In the
    Data Viewer
    panel, examine the Parser output.
  8. To confirm that the Parser ran without error, in the
    Data Viewer
    panel, click the
    Show Events
    button. Examine the execution log in the
    Data Processor Events

Updated March 18, 2021