Table of Contents

Search

  1. Preface
  2. Using the Designer
  3. Working with Sources
  4. Working with Flat Files
  5. Working with Targets
  6. Mappings
  7. Mapplets
  8. Mapping Parameters and Variables
  9. Working with User-Defined Functions
  10. Using the Debugger
  11. Viewing Data Lineage
  12. Comparing Objects
  13. Managing Business Components
  14. Creating Cubes and Dimensions
  15. Using the Mapping Wizards
  16. POWERCENTERHELP
  17. Datatype Reference
  18. Configure the Web Browser

Creating a Normalized Target from a COBOL Source

Creating a Normalized Target from a COBOL Source

To create a target based on normalized COBOL sources, you first need to analyze the COBOL structure using the Source Analyzer.
When you drag a normalized COBOL source definition into the Target Designer workspace, the Target Designer creates relational target definitions based on the following rules:
  • The number of tables that appears is one more than the number of OCCURS statements in the COBOL file.
  • The target table name defaults to the record name.
  • The generated key name for each table is GK_target_table_name.
  • The number of generated key names is the number of OCCURS statements minus the number of primary keys.
The following figure shows a sample COBOL source definition with five OCCURS statements:
The STUDENT column has an OCCURS setting of 5.
When you drag the source into the Target Designer workspace, the Designer creates six target definitions.


Updated June 25, 2018