Table of Contents

Search

  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

User Guide

User Guide

Configuring the Complex File Reader for COBOL

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 reader, perform the following steps:
    1. On the
      Advanced
      tab of the
      Properties
      view, select the
      File Format
      property, then choose
      Input Format
      .
    2. Select the
      Input Format
      property, then type
      com.informatica.hadoop.reader.RegexInputFormat
      .
    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. Add the Data Processor transformation to the mapping. The transformation input port should remain set to binary input, the default setting for COBOL input.
  5. 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.

0 COMMENTS

We’d like to hear from you!