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

Accessing DB2 Unload Data from Multiple Tables

Accessing DB2 Unload Data from Multiple Tables

Multiple table tablespaces result in a single unload file that contains data from several tables.
You can create a data map that can access multiple tables in a single unload file.
You can select individual tables from the unload by using the OBID of the table. The following types of unload files are supported for this type of multiple table access:
  • Type 1 REORG UNLOAD
    The OBID is held in the fourth and fifth bytes of each record.
  • Type 3 DSNUTILB UNLOAD
    The OBID is held in the first two bytes of each record.
Perform the following tasks to create a data map that can be used to access multiple tables in the same unload file:
  1. Add a data map.
  2. Add the underlying tables.
  3. To specify the underlying table for each record type in the data map, enter the appropriate OBID in the
    Record Properties
    dialog box for the DTL__OBID field.

0 COMMENTS

We’d like to hear from you!