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. DTLINFOX - Enhanced Release Information Utility
  8. DTLREXE - Remote Execution Utility
  9. DTLUAPPL - Restart Token Utility
  10. DTLUCBRG - Batch Registration Utility
  11. DTLUCDEP - CDEP Maintenance Utility
  12. DTLUCSR2 - IDMS SR2 and SR3 Records Utility
  13. DTLUCUDB - DB2 for Linux, UNIX, and Windows CDC Utility
  14. DTLULCAT and DTLULOGC - IDMS Log Catalog Utilities
  15. DTLURDMO - Data Map Utility
  16. DTLUTSK - Task Control Utility
  17. EDMLUCTR - Log Scan and Print Utility
  18. EDMUOPTS - Service Aid Utility
  19. EDMXLUTL - Event Marker Utility
  20. HOSTENT - TCP/IP Address Reporter Utility
  21. PWXCATMY - MySQL Catalog Utility
  22. PWXUCCLPRT - Print Log Summary Utility
  23. PWXUCDCT - Logger for Linux, UNIX, and Windows Utility
  24. PWXUCREG - Capture Registration Utility
  25. PWXUMAP - Map List Utility
  26. PWXUCRGP - Capture Registrations Print Utility
  27. PWXUDMX - Data Maps Update Time ECSA Memory Utility
  28. PWXUGSK - SSL Reporting Utility
  29. PWXUSSL - PowerExchange SSL Reporting Utility
  30. WRKJRNLCKE- Journal Lock Table Utility for IBM i

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!