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. XMap
  7. Libraries
  8. Schema Object
  9. Command Line Interface
  10. Scripts
  11. Parsers
  12. Script Ports
  13. Document Processors
  14. Formats
  15. Data Holders
  16. Anchors
  17. Transformers
  18. Actions
  19. Serializers
  20. Mappers
  21. Locators, Keys, and Indexing
  22. Streamers
  23. Validators, Notifications, and Failure Handling
  24. Validation Rules
  25. Custom Script Components

Data Transformation User Guide

Data Transformation User Guide

Configuring the Complex File Reader for COBOL

Add a Data Processor transformation that transforms COBOL input to a mapping with a complex file reader. Configure the complex file reader to optimize how the mapping processes COBOL input in a Hive environment. The input encoding for the complex file reader must be EBCDIC.
  1. In the Mapping editor, create a complex file reader object.
  2. To configure the complex file writer, perform the following steps:
    1. On the
      tab of the
      view, select the
      File Format
      property, then choose
      Input Format
    2. Select the
      Input Format
      property, then type
    3. To optimize performance, use the
      Input Format Parameters
      property to define the regular expression in the form
      Regex="<regular expression>"
  3. Create a Data Processor transformation for COBOL input using the wizard.
  4. Select the Cobol_CFR_Reader as the startup component for the Data Processor transformation.
  5. Add the Data Processor transformation to the mapping. The transformation input port should remain set to binary input, the default setting for COBOL input.
  6. Link the complex file reader output port to the Data Processor transformation input port. The complex file reader output port should remain set to binary output.