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

Example 5. Reporting and Deleting Expired CDCT Records

Example 5. Reporting and Deleting Expired CDCT Records

To find out if the CDCT file contains records for expired PowerExchange Logger log files, run the REPORT_EXPIRED_CDCT command. If the report indicates that records for expired logs exist, run the DELETE_EXPIRED_CDCT command to delete them and free space on your system.
To use the DELETE_EXPIRED_CDCT command, you must set the LOGGER_DELETES_EXPIRED_CDCT_RECORDS parameter to Y in the pwxccl configuration file. If this parameter is set to Y or is not specified, the PowerExchange Logger does not delete the expired CDCT records until a file switch occurs.
  1. To determine if CDCT records for expired log files exist, enter the following command:
    pwxucdct cmd=report_expired_cdct cs=C:\Informatica\PowerExchange
    v.r.m
    \resources\pwxccl_orcl.cfg
    If you do not direct the output to a report file, this command prints the following messages to the message log file:
    PWX-33314 TIMEOUTS configuration parameter is deprecated PWX-33269 CCL configuration parameter <CHKPT_BASENAME> is deprecated. PWX-33269 CCL configuration parameter <CHKPT_NUM> is deprecated. PWX-25404 Processing console program. pwxucdct cmd=report_expired_files cs=C:\Informatica\PowerExchange
    v.r.m
    \resources\pwxccl_orcl.cfg REPORT FOR COMMAND Report Expired Files -------------------------------------------------------------------------------- ------------------------------ CCL FILES ------------------------------ -------------------------------------------------------------------------------- Incarnation: 20130221202420000000 Group #: 1 File Seq#: 1302212029001 Name: C:\Informatica\PowerExchange
    v.r.m
    \resources\ccl\group1\grp1.CND.CP130221.T2029001 Open TimeStamp: 20130221202930000000 Close TimeStamp: 20130221202948000000 Record Count: 840 Commit Count: 60 Has Uncommited data: No Status: Closed Fmt Version: 951 Interest List flags: 1 Restart Information: Sequence Restart Timestamp Begin: D4000000CF3E79000000000000000000CF3E7700000000000002F500006E73001000020000 000000CF3E774ED056E4 20130221202929000000 End: D4000000CF3F4A000000000000FFFFFFFFFFFFFFFFFFFF000002F5000071850084FFFF0000 000000CF3F494ED056E4 20130221202936000000 Incarnation: 20130221202420000000 Group #: 1 File Seq#: 1302212029002 Name: C:\Informatica\PowerExchange
    v.r.m
    \resources\ccl\group1\grp1.CND.CP130221.T2029002 Open TimeStamp: 20130221202952000000 Close TimeStamp: 20130221202958000000 Record Count: 280 Commit Count: 20 Has Uncommited data: No Status: Closed Fmt Version: 951 Interest List flags: 1 Restart Information: Sequence Restart Timestamp Begin: D4000000CF3F68000000000000000000CF3F6700000000000002F5000071BB001000020000 000000CF3F674ED056E4 20130221202950000000 End: D4000000CF3FA8000000000000FFFFFFFFFFFFFFFFFFFF000002F5000072B50090FFFF0000 000000CF3FA74ED056E4 20130221202950000000 Incarnation: 20130221202420000000 Group #: 1 File Seq#: 1302212030001 Name: C:\Informatica\PowerExchange
    v.r.m
    \resources\ccl\group1\grp1.CND.CP130221.T2030001 Open TimeStamp: 20130221203005000000 Close TimeStamp: 20130221203010000000 Record Count: 280 Commit Count: 20 Has Uncommited data: No Status: Closed Fmt Version: 951 Interest List flags: 1 Restart Information: Sequence Restart Timestamp Begin: D4000000CF3FBB000000000000000000CF3FB900000000000002F5000072D0014400020000 000000CF3FB94ED056E4 20130221203004000000 End: D4000000CF3FFB000000000000FFFFFFFFFFFFFFFFFFFF000002F5000073CB017CFFFF0000 000000CF3FFA4ED056E4 20130221203004000000
    This output indicates that the CDCT file contains records for three expired log files.
  2. To delete the expired PowerExchange Logger log files and the associated CDCT records, enter the following command:
    pwxucdct cmd=delete_expired_files cs=C:\Informatica\PowerExchange
    v.r.m
    \resources\pwxccl_orcl.cfg
    The following messages, which are written to the message log file, confirm that the three log files were deleted:
    PWX-33314 TIMEOUTS configuration parameter is deprecated PWX-33269 CCL configuration parameter <CHKPT_BASENAME> is deprecated. PWX-33269 CCL configuration parameter <CHKPT_NUM> is deprecated. PWX-25404 Processing console program. pwxucdct cmd=DELETE_EXPIRED_FILES cs=C:\Informatica\PowerExchange
    v.r.m
    \resources\pwxccl_orcl.cfg REPORT FOR COMMAND DELETE_EXPIRED_CDCT PWX-25204 Deleted expired file "C:\Informatica\PowerExchange
    v.r.m
    \resources\ccl\group1\grp1.CND.CP130221.T2029001" PWX-25204 Deleted expired file "C:\Informatica\PowerExchange
    v.r.m
    \resources\ccl\group1\grp1.CND.CP130221.T2029002" PWX-25204 Deleted expired file "C:\Informatica\PowerExchange
    v.r.m
    \resources\ccl\group1\grp1.CND.CP130221.T2030001"
  3. To verify that the expired log files and associated CDCT records were deleted, enter the following command:
    pwxucdct cmd=report_cdct cs=C:\Informatica\PowerExchange
    v.r.m
    \resources\pwxccl_orcl.cfg
    Ensure that the CCL Files section of the report does not list the deleted log files.

0 COMMENTS

We’d like to hear from you!