Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

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. Comparing Objects
  12. Managing Business Components
  13. Creating Cubes and Dimensions
  14. Using the Mapping Wizards
  15. Appendix A: Datatype Reference

Designer Guide

Designer Guide

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.

0 COMMENTS

We’d like to hear from you!