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

Importing a COBOL Copybook into a Data Map - Example

Importing a COBOL Copybook into a Data Map - Example

In this example, you add a
multiple-record
data map and import a COBOL copybook into it.
This example shows how to complete the following tasks:
  1. Add a data map and import a COBOL copybook that contains an OCCURS DEPENDING ON clause into the data map.
    When you add the data map, you use a fixed-length data file. After you add the data map, you create a hierarchical view of the flat file.
  2. Apply a date mask to a field in a data map record.
  3. Use a WHERE clause to filter an empty record from the output.
  4. Display multiple output rows for items in an OCCURS DEPENDING ON clause.
This example uses the train3.dat and train3.cob files.

0 COMMENTS

We’d like to hear from you!