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

IMS Data Maps

IMS Data Maps

To use an IMS database as a data source or target, define an IMS data map. The data map is required to create SQL statements for relational-type access to IMS data during session processing.
When creating the data map for an IMS source or target database, add one or more IMS segments, and the fields in the segments, to define the physical layout of the data. A data map also includes table views of the data. The segment and field definitions provide the nonrelational view of the data, and the tables and columns provide the relational view of the data.
For IMS data sources,
record
refers to a root segment and its children.
A data map can include one segment or multiple segments:
  • Define a single segment in a data map if the associated data file contains one segment type. A single-segment data map can define multiple tables.
  • Define multiple segments in a data map if the source database contains multiple segment types. The fewer columns that PowerExchange must retrieve results in faster file processing and data extraction.
You can use data maps to align fields, convert dates, filter data, and enhance data to improve data accuracy and reduce data volume. You can also use data maps for Lookup transformations that look up related values and determine if rows exist in an IMS target.
To define an IMS data map, complete the following tasks:
  1. Add an IMS data map.
    When you define the data map, select the
    DL/1 BATCH
    or
    IMS ODBA
    access method and associate the data map with a data file that defines the record types and data. You must also enter the IMS source or target properties that the access method requires. DL/I batch access requires a PCB number. ODBA access requires an IMS SSID, PSB name, and PCB name.
    You can override the access method in the data map when you configure a PowerCenter session or perform a database row test. If you override the access method, you must also enter the properties that the new access method requires.
  2. If the DBD source is available for the IMS data, import the DBD source into the data map.
    The DBD source defines segments and the hierarchical sequence for the data map. During the import process, PowerExchange maps the IMS segments and fields to tables to create the relational view of source data that PowerExchange requires.
  3. To overlay each segment with its COPYLIB, import a COBOL copybook into each IMS segment in the data map.
  4. Send the data map to the PowerExchange Listener on the local or remote node to store the data map in PowerExchange.
    This action converts the data map into an operating-system-independent file that PowerExchange can access for extraction processing.
  5. Run a database row test to test the data map.
    A database row test accesses actual source data, displays it in table format, and verifies that you can access data from the source database.
The PowerExchange installation includes the example IMSDEMOS file that includes a example IMS DBD source that you can use to create a example IMS data map.

0 COMMENTS

We’d like to hear from you!