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

Example 3. Re-creating the CDCT File After a Failure

Example 3. Re-creating the CDCT File After a Failure

The CDCT file and all recent CDCT backup files were damaged or deleted. However, an older backup file based on a previous Logger configuration incarnation is available. To re-create the CDCT file, you first derive a backup based on the previous backup file and then restore that backup.
  1. Derive a backup file from existing log files by entering the following command:
    pwxucdct cmd=derive_cdct_backup prevbackupfile=C:\Informatica
    v.r.m
    \pwx\backups\prev_backup0.txt backupfile=C:\Informatica
    v.r.m
    \pwx\backups\derived_backup1.txt cs=C:\Informatica
    v.r.m
    \pwx\resources\pwxccl_orcl.cfg
    Include the PREVBACKUPFILE parameter to use a previous backup file as a starting point to recover the CDCT. If the utility discovers additional log files that are not in the previous backup, it adds them to the derived backup.
    The following messages are written 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=derive_cdct_backup backupfile=C:\Informatica
    v.r.m
    \pwx\backups\derived_backup1.txt cs=\Informatica
    v.r.m
    \pwx\resources\pwxccl_orcl.cfg 2 Logger file(s) found for flexible groups masks PWX-33261 Loaded "bonus.1". Table "MYORA1.BONUS". Tag "ORAORCLbonus1" PWX-33261 Loaded "dept.1". Table "MYORA1.DEPT". Tag "ORAORCLdept1" PWX-33261 Loaded "emp.1". Table "MYORA1.EMP". Tag "ORAORCLemp1" PWX-33261 Loaded "o015716k.1". Table "MYORA1.ORL157_SRC_16K". Tag "ORAORCLo015716k1" PWX-33261 Loaded "o01612k.1". Table "MYORA1.ORL161_SRC_2K". Tag "ORAORCLo01612k1" PWX-33261 Loaded "salgrade.1". Table "MYORA1.SALGRADE". Tag "ORAORCLsalgrade1" PWX-33263 12 registrations loaded PWX-33264 Start of registrations for group processing PWX-06264 Group <GROUP1> using registration <emp> reg_schema=<MYORA1> table=<EMP> with schema=<MYORA1>. PWX-06264 Group <GROUP2> using registration <bonus> reg_schema=<MYORA1> table=<BONUS> with schema=<MYORA1>. PWX-06264 Group <GROUP2> using registration <dept> reg_schema=<MYORA1> table=<DEPT> with schema=<MYORA1>. PWX-06264 Group <GROUP2> using registration <o015716k> reg_schema=<MYORA1> table=<ORL157_SRC_16K> with schema=<MYORA1>. PWX-06264 Group <GROUP2> using registration <o01612k> reg_schema=<MYORA1> table=<ORL161_SRC_2K> with schema=<MYORA1>. PWX-06264 Group <GROUP2> using registration <salgrade> reg_schema=<MYORA1> table=<SALGRADE> with schema=<MYORA1>. PWX-06119 Controller: added new registration tag ORAORCLbonus1 PWX-06119 Controller: added new registration tag ORAORCLdept1 PWX-06119 Controller: added new registration tag ORAORCLo015716k1 PWX-06119 Controller: added new registration tag ORAORCLsalgrade1
  2. Restore the derived backup by entering the following command:
    pwxucdct cmd=restore_cdct backupfile=C:\Informatica
    v.r.m
    \pwx\backups\derived_backup1.txt cs=C:\Informatica
    v.r.m
    \pwx\resources\pwxccl_orcl.cfg
    The following messages are written 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=restore_cdct backupfile=C:Informatica\PowerExchange
    v.r.m
    \backups\derived_backup1.txt cs=C:\Informatica\PowerExchange
    v.r.m
    \resources\pwxccl_orcl.cfg PWX-25200 Created CDCT file "C:\Informatica\PowerExchange
    v.r.m
    \resources\CDCT_orcl" PWX-36937 Restore is using backup of CDCT file <C:\Informatica\PowerExchange
    v.r.m
    \resources\CDCT_ora1> created <2013/02/21 19:03:14.000000>.
    To verify that the restore operation was successful, check that the return code from the PWXUCDCT utility is zero and that messages PWX-25140 through PWX-25145 provide reasonable record counts for records read from the backup file and for records that were changed in the CDCT file.
    Also, view the PWX-25132 messages that report the progress of the restore operation. PowerExchange tries to display progress information to the console approximately every 1 percent of the backup file processed. If you need to display progress information more frequently or less frequently, include the progressfrequency parameter in the restore_cdct statement to adjust the frequency.
  3. Run the DELETE_ORPHAN_FILES command to delete log files that are no longer referenced by the restored CDCT file.
    After you warm start the PowerExchange Logger, it re-creates the CDCT content for those files.

0 COMMENTS

We’d like to hear from you!