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

Testing a Data Map

Testing a Data Map

You can run a database row test to validate a data map and preview data for the tables in a data map.
A database row test accesses data in a data source and displays it in table format in the
Database Row Test Output
window.
  1. Open a data map.
  2. On the
    Data Map
    tab in the
    Resource Explorer
    , click a table.
  3. To get data for specific columns, select these columns in the
    Table
    window.
    PowerExchange adds the selected columns to the SQL SELECT statement that is generated in the
    SQL Statement
    box in the
    Database Row Test
    dialog box.
    This setting does not affect SQL DTLDESCRIBE requests.
  4. Click
    File
    Database Row Test
    .
    The
    Data Map Remote Node
    dialog box appears.
  5. Enter connection information for the remote system and click
    OK
    .
    The
    Database Row Test
    dialog box appears.
  6. In the
    DB Type
    list, click the data source type. Then, enter any information that is associated with the data source type.
    Select the
    AS4_META
    data source type only at the direction of Informatica Global Customer Support.
  7. In the
    Fetch
    list, select
    Data
    to preview data, or select another option to preview metadata for an item such as a table or a schema.
    The row test generates an SQL statement in the
    SQL Statement
    box based on the selected
    Fetch
    option:
    • For the
      Data
      option, the row test generates an SQL SELECT statement.
    • For a metadata option, the row test generates an SQL DTLDESCRIBE statement.
  8. Optionally, edit the SQL SELECT or DTLDESCRIBE statement in the
    SQL Statement
    box.
  9. If you selected the
    CAPX
    or
    CAPXRT
    access method, enter an application name in the
    Application
    box.
  10. If you selected the
    CAPX
    ,
    CAPXRT
    ,
    DB2390IMG
    , or
    NRDB
    access method, click
    Advanced
    to enter override values for the row test. Then, in the
    Advanced Parameters
    dialog box, enter any of the available override values for the source type. These values override certain values in PowerExchange definitions or configuration files, such as data maps or the DBMOVER configuration file.
  11. In the
    Get
    n
    Rows
    field, enter the number of rows that you want the row test to fetch. You can display up to 99999 rows of data at a time. By default, PowerExchange displays ten rows of data.
  12. If you selected the
    CAPX
    ,
    CAPXRT
    ,
    NRDB
    ,
    NRDB2
    , or
    IMSUNLD
    data source type and selected
    Data
    in the
    Fetch
    list, you can have the row test skip a specific number of initial rows before displaying data. To skip rows, specify a number from 1 to 99999 in the
    Skip First
    n
    Rows
    field.
    If you are testing a SEQ data map that has the
    Variable
    property set to
    VS
    to indicate a variable-length stream data file, the database row test returns warning message PWX-03042 and the
    Skip First
    n
    Rows
    option is ignored. The PowerExchange Navigator cannot skip rows for a variable-length stream data file.
  13. Click
    Go
    .
    The
    Database Row Test Output
    window displays the results of the database row test.

0 COMMENTS

We’d like to hear from you!