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

Step 2. Apply a Date Mask to a GROUP Field in the Data Map

Step 2. Apply a Date Mask to a GROUP Field in the Data Map

Apply a date mask to a GROUP field in a data map.
  1. On the
    Data Map
    tab in the
    Resource Explorer
    , click the
    MASTER_REC
    record.
  2. In the
    Record
    window, and click the
    MASTER_DATE
    field.
    The MASTER_DATE field is defined as a GROUP field that contains the following subfields that are defined as UZONED fields:
    • DATE_YY
    • DATE_MM
    • DATE_DD
    In the next step, delete these subfields and set properties for the MASTER_DATE field to create a single date column in the database row test output from the MASTER_DATE GROUP field.
  3. In the
    Record
    window, select the DATE_YY field. Press SHIFT and click DATE_DD. Click the Delete button on the toolbar.
  4. On the confirmation dialog box, to view details about which
    cross-references
    will be deleted with the fields, click
    More Details
    .
  5. Click
    Yes
    .
  6. In the
    Record
    window, right-click the
    MASTER_DATE
    field and click
    Properties
    .
  7. In the
    Field Properties
    dialog box, enter information about the field.
    The following table describes the information to enter:
    Option
    Description
    Field Type
    Select
    CHAR
    .
    Length
    Enter
    6
    .
    Field Format
    Select
    Y2-MM-D2
    . Delete the hyphens.
  8. Click
    OK
    .
  9. On the
    Data Map
    tab in the
    Resource Explorer
    , click the
    MASTER_REC
    table.
  10. Click
    Add
    Column
    .
  11. In the
    Add Column
    dialog box, enter information about the column.
    The following table describes the information to enter:
    Option
    Description
    Name
    Enter
    new_date
    .
    Base Field
    Select
    MASTER_REC:MASTER_DATE
    .
  12. Click
    OK
    .
  13. On the
    Data Map
    tab in the
    Resource Explorer
    , click the
    MASTER_REC
    table.
  14. Click
    File
    Database Row Test
    .
  15. In the
    Database Row Test
    dialog box, click
    Go
    .
    In the
    Database Row Test Output
    window, the
    new_date
    column displays the date.

0 COMMENTS

We’d like to hear from you!