Table of Contents

Search

  1. Preface
  2. PowerExchange Navigator Introduction
  3. Data Maps
  4. Data Maps for Specific Data Sources
  5. Copybooks
  6. Registration Groups and Capture Registrations
  7. Extraction Groups and Extraction Maps
  8. Personal Metadata
  9. Database Row Test
  10. PowerExchange Navigator Examples
  11. Appendix A: PowerExchange Functions for User-Defined Fields
  12. Appendix B: User Access Method Programs
  13. Appendix C: Application Groups and Applications
  14. Appendix D: Data Map Properties
  15. Appendix E: Record, Field, and Table Properties
  16. Appendix F: DTL__CAPXTIMESTAMP Time Stamps
  17. Appendix G: Trace for Creating a Memory Map When Importing a COBOL Copybook

Navigator User Guide

Navigator User Guide

Data Maps Overview

Data Maps Overview

You can define data maps to map nonrelational records to relational tables so that PowerExchange can use the SQL language to access the data.
For nonrelational sources, such as IMS databases, VSAM files, sequential data sets, and flat files, data maps are required to perform bulk data movement operations, and to provide the metadata used to define capture registrations and extraction maps for CDC.
For DB2 sources, you can also define data maps so that you can split the data in a column that contains multiple fields into separate fields.
A data map for a flat file or sequential data set must be associated with a data file that defines the record types and the data in the data map.
When you add a data map, optionally import a copybook to define the layout of the data in a data source and, for an Adabas data map, import an Adabas field definition table (FDT) and Adabas keys. Alternatively, you can define the layout of the data by manually defining one or more records and tables in a data map.
Records in data maps define the field layout of the records in a source or target. Tables in data maps provide a relational view of the data. PowerExchange requires a relational view to access data sources by using the SQL language, as follows:
  • For nonrelational sources and targets, PowerExchange supports a limited subset of the SQL language. PowerExchange interprets the SQL statements internally to convert them, as needed, for access to the data source type.
    For more information, see the
    PowerExchange Reference Manual
    .
  • For relational sources and targets, PowerExchange also supports a larger set of the SQL language. PowerExchange passes the SQL statements to the RDBMS for processing.
PowerExchange maps fields in data maps to the byte level. Some copybooks, such as PL/I copybooks, have bit-level mappings. If you import a copybook that has bit-level mappings into a data map, PowerExchange concatenates the bit fields into a byte field, naming the field by using the field name of the first bit field. In a data map, you can define a user-defined field that uses one or more PowerExchange functions in an expression to separate this field back into bits. Then, in PowerCenter, use an Expression transformation to calculate the numeric value of the combined bits in the bit string.
You can run a database row test on a data map to verify that it can retrieve source data.
For information about opening, closing, and deleting data maps, and searching for fields in records and columns in tables in data maps, see PowerExchange Resources.

0 COMMENTS

We’d like to hear from you!