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

Editing the Record Layout in a DB2 Data Map

Editing the Record Layout in a DB2 Data Map

You can edit the record layout of a DB2 table in a DB2 data map.
For example, you can edit a field in a record that contains three items to separate the data in the field into child fields.
In this example, the MISC_DATA field is defined as a CHAR(15) field. However, the field is used to store three Packed decimal fields, each with a precision of 9 and scale of 2.
To edit the record layout in a DB2 data map:
  1. Open the data map.
  2. Open the record.
  3. In the
    Record
    window, right-click the MISC_DATA field and click
    Properties
    .
    The
    Field Properties
    dialog box appears.
  4. At
    Field Type
    , enter
    GROUP
    .
  5. Click
    OK
    .
  6. In the
    Record
    window, right-click the MISC_DATA field and click
    Add Field as Child
    .
  7. Add the MISC_1, MISC_2, and MISC_3 fields as children of the MISC_DATA field. Define each field as a PACKED field with a precision of 9 and a scale of 2.

0 COMMENTS

We’d like to hear from you!