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 User-Defined Fields in a Data Map

Testing User-Defined Fields in a Data Map

After you define a user-defined field in a record, run a database row test to test the operation of any PowerExchange or user-defined functions on the field.
Run a database row test on a table in the data map that includes a column based on the user-defined field.
To test a user-defined field in a data map:
  1. In the data map, add a column to a table that uses the user-defined field that you want to test as its base field.
  2. Save the data map.
  3. Run a database row test on the table.
    Do not include the DISTINCT keyword in the SQL statement when you run a database row test for a data map that contains user-defined fields. If a query requires the DISTINCT keyword, create another table in the data map that contains the fields that are required for the query.
  4. Review the output in the
    Database Row Test Output
    window.
For more information about using SQL for nonrelational sources, see the
PowerExchange Reference Manual
.

0 COMMENTS

We’d like to hear from you!