Table of Contents

Search

  1. Preface
  2. Libraries for Industry Standards
  3. Using Libraries
  4. Descriptions of the Libraries
  5. Generate Library Objects

Libraries Guide

Libraries Guide

Creating a Transformation for COBOL

Creating a Transformation for COBOL

Use the Data Processor transformation wizard to create a Data Processor transformation with COBOL input or output.
  1. In the Developer tool, click
    File
    New
    Transformation
    .
  2. Select the Data Processor transformation and click
    Next
    .
  3. Enter a name for the transformation and browse for a Model Repository location to put the transformation.
  4. Select
    Create a data processor using a wizard
    and click
    Next
    .
  5. Select an input format and click
    Next
    .
  6. If you select COBOL as an input format, browse to select a COBOL copybook. Click
    Next
    .
    The copybook specification file generally has an
    *.txt
    extension. Developer adds an XSD schema file representing the copybook to the Model repository.
  7. Select an output format and click
    Next
    .
  8. If you select COBOL as an output format, browse to select an COBOL copybook. Click
    Next
    .
    If you selected COBOL as the input format, you do not have the option to select COBOL as the output format.
  9. Click
    Finish
    .
    The Developer tool creates the transformation in the repository. The
    Overview
    view appears in the Developer tool.
  10. In the
    Objects
    view, double-click the Parser to open it in the IntelliScript editor.
  11. If the COBOL data is encoded in EBCDIC, in the
    Settings
    view change the input or output encoding to the relevant EBCDIC codepage.

0 COMMENTS

We’d like to hear from you!