Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange Utilities
  3. createdatamaps - Data Map Creation Utility
  4. DTLCCADW - Adabas PCAT Utility
  5. DTLCUIML - IMS Log Marker Utility
  6. DTLINFO - Release Information Utility
  7. DTLREXE - Remote Execution Utility
  8. DTLUAPPL - Restart Token Utility
  9. DTLUCBRG - Batch Registration Utility
  10. DTLUCDEP - CDEP Maintenance Utility
  11. DTLUCSR2 - IDMS SR2 and SR3 Records Utility
  12. DTLUCUDB - DB2 for Linux, UNIX, and Windows CDC Utility
  13. DTLULCAT and DTLULOGC - IDMS Log Catalog Utilities
  14. DTLURDMO - Data Map Utility
  15. DTLUTSK - Task Control Utility
  16. EDMLUCTR - Log Scan and Print Utility
  17. EDMXLUTL - Event Marker Utility
  18. HOSTENT - TCP/IP Address Reporter Utility
  19. PWXCATMY - MySQL Catalog Utility
  20. PWXUCCLPRT - Print Log Summary Utility
  21. PWXUCDCT - Logger for Linux, UNIX, and Windows Utility
  22. PWXUCREG - Capture Registration Suspend Utility
  23. PWXUCRGP - Capture Registrations Print Utility
  24. PWXUDMX - Data Maps Update Time ECSA Memory Utility
  25. PWXUGSK - SSL Reporting Utility for z/OS
  26. PWXUMAP - Map List Utility
  27. PWXUSSL - PowerExchange SSL Reporting Utility

Use of the maxRedefines Element to Limit the Number of Records

Use of the maxRedefines Element to Limit the Number of Records

Use the maxRedefines element to limit the number of layouts that the createdatamaps utility generates when it parses a copybook that contains REDEFINE statements. The utility writes only the first
maxRedefines
records to the data map.
If the copybook includes multiple 01 levels, MaxRedefines applies to each 01 level.
To determine the order of records, the utility builds a hierarchical internal model, such as the following one:
MASTER-REC __________|________________ | | MASTER-DATE REDEFINES OTHER-DATE REDEFINES left right ____|_____ ____|_____ | | | | MASTER-DATE MASTER-DOB OTHER-DATE OTHER-DOB left right left right
When the utility begins reading records from the COBOL copybook, it selects the left-most redefine in each branch. In this example, the utility selects the combination of MASTER-DATE / OTHER-DATE. The utility then progresses through the redefines of the right-most branch, that is, MASTER-DATE / OTHER-DOB, until all combinations are added to the model. The utility returns to the next redefine in the left branch, that is, MASTER-DOB. The utility combines MASTER-DOB with each redefine from the right branch, that is, MASTER-DOB / OTHER-DATE and then MASTER-DOB / OTHER-DOB.
Because this process can lead to a large number of records, you can include the maxRedefines element in the control file to limit the number of layouts that the utility processes to the first
maxRedefines
layouts.
After you create the data map, you can edit the data map in the PowerExchange Navigator to delete unwanted records and tables. Also, if you configured the control file to find RID fields, you can view the assigned RID values.

0 COMMENTS

We’d like to hear from you!