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. EDMUOPTS - Service Aid Utility
  18. EDMXLUTL - Event Marker Utility
  19. HOSTENT - TCP/IP Address Reporter Utility
  20. PWXCATMY - MySQL Catalog Utility
  21. PWXUCCLPRT - Print Log Summary Utility
  22. PWXUCDCT - Logger for Linux, UNIX, and Windows Utility
  23. PWXUCREG - Capture Registration Suspend Utility
  24. PWXUMAP - Map List Utility
  25. PWXUCRGP - Capture Registrations Print Utility
  26. PWXUDMX - Data Maps Update Time ECSA Memory Utility
  27. PWXUGSK - SSL Reporting Utility
  28. PWXUSSL - PowerExchange SSL Reporting Utility
  29. WRKJRNLCKE- Journal Lock Table Utility for IBM i

Example 1. Suspending a Capture Registration

Example 1. Suspending a Capture Registration

You need to perform a cascade delete operation for a single registered source but do not want the ECCR to capture these deletes.
To stop change capture temporarily, you plan to suspend the capture registration named b800tbl that is associated with the source. You want to run a PWXUCREG job on z/OS that accesses the CCT file locally in order to issue a SUSPEND_REGISTRATION command. Later, you reactivate the capture registration to resume capture processing.
Use the following JCL to run a PWXUCREG job that suspends the capture registration:
//PWXURSUS JOB 'PWXUCREG',MSGLEVEL=(1,1),MSGCLASS=X,NOTIFY=&SYSUID, // CLASS=A //LIBSRCH JCLLIB ORDER=DTLUSR.V1052.RUNLIB // SET HLQ=DTLUSR.V1052 // SET RUNLIB=DTLUSR.V1052.RUNLIB //STEP1 EXEC PGM=PWXUCREG //STEPLIB DD DISP=SHR,DSN=&HLQ..LOADLIB //DTLAMCPR DD DISP=SHR,DSN=&HLQ..CCT //DTLMSG DD DISP=SHR,DSN=&HLQ..DTLMSG //DTLCFG DD DISP=SHR,DSN=&RUNLIB(DBMOVER) //DTLKEY DD DISP=SHR,DSN=&RUNLIB(LICENSE) //DTLSGN DD DISP=SHR,DSN=&RUNLIB(SIGNON) //DTLLOG DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSPRINT DD SYSOUT=* //PWXSYSIN DD * SET_CONTROL_VALUE,SYSTEM_CONSOLE_MESSAGES_COMMAND=Y; SUSPEND_REGISTRATION, DATABASE_INSTANCE=R11G4, REGISTRATION_NAME=b800tb1 /*
The SET_CONTROL_VALUE command includes the global SYSTEM_CONSOLE_MESSAGES_COMMAND=Y parameter to write messages related to suspension processing to the z/OS system console.
If the JCL is successfully processed, the following messages are printed to both the job log and z/OS system console:
16.22.35 JOB03118 ---- TUESDAY, 23 OCT 2012 ---- 16.22.35 JOB03118 IRR010I USERID DTLUSR IS ASSIGNED TO THIS JOB. 16.22.35 JOB03118 ICH70001I DTLUSR LAST ACCESS AT 14:01:58 ON TUESDAY, OCTOBER 23, 2012 16.22.35 JOB03118 £HASP373 PWXURSUS STARTED - INIT 3 - CLASS A - SYS MHZ1 16.22.35 JOB03118 IEF403I PWXURSUS - STARTED - TIME=16.22.35 16.22.37 JOB03118 PWX-03716 PWXUCREG: Registration "b800tb1", version "1", instance "R11G4", status changed from "Active" to "Suspended" . 16.22.37 JOB03118 - --TIMINGS (MINS.)-- -----PAGING COUNTS---- 16.22.37 JOB03118 -STEPNAME PROCSTEP RC EXCP CONN TCB SRB CLOCK SERV WORKLOAD PAGE SWAP VIO SWAPS 16.22.37 JOB03118 -STEP1 00 1020 417 .00 .00 .0 5542 BATCH 0 0 0 0 16.22.38 JOB03118 IEF404I PWXURSUS - ENDED - TIME=16.22.38 16.22.38 JOB03118 -PWXURSUS ENDED. NAME- TOTAL TCB CPU TIME= .00 TOTAL ELAPSED TIME= .0 16.22.38 JOB03118 £HASP395 PWXURSUS ENDED ------ JES2 JOB STATISTICS ------ 23 OCT 2012 JOB EXECUTION DATE 24 CARDS READ 142 SYSOUT PRINT RECORDS 0 SYSOUT PUNCH RECORDS 8 SYSOUT SPOOL KBYTES 0.04 MINUTES EXECUTION TIME PWX-33314 TIMEOUTS configuration parameter is deprecated PWX-15799 DD:PWXSYSIN <> PARM INPUT FILE: START>>> . PWX-15799 SET_CONTROL_VALUE,SYSTEM_CONSOLE_MESSAGES_COMMAND=Y;. PWX-15799 SUSPEND_REGISTRATION,. PWX-15799 DATABASE_INSTANCE=R11G4,. PWX-15799 REGISTRATION_NAME=b800tb1. PWX-15799 ;. PWX-15799 DD:PWXSYSIN <> PARM INPUT FILE: END(COMPLETE). PWX-03716 PWXUCREG: Registration "b800tb1", version "1", instance "R11G4", status changed from "Active" to "Suspended". PWX-03717 PWXUCREG: Number of registrations processed 1. PWX-03712 PWXUCREG: Registration "b800tb1", type "DCM", instance "R11G4", version "1", current status "S". PWX-03713 PWXUCREG: Registration "b800tb1", suspended at "2012/10/23 16:22:37.235636", current time "2012/10/23 16:22:37.727037". PWX-03714 PWXUCREG: Registration "b800tb1", activated at "2012/10/19 09:46:26.007478", current time "2012/10/23 16:22:37.727037". PWX-03724 PWXUCREG: Number of registrations displayed 1.
The following messages report registration information about the registration status change:
  • Message PWX-03716 indicates that the utility successfully changed the registration status to Suspended.
  • Messages PWX-03712 through PWX-03714 show the registration current status and suspend and activate timestamps. These messages are printed because you accepted the default value of Y for the global DISPLAY_REGISTRATION_AFTER_COMMAND parameter.

0 COMMENTS

We’d like to hear from you!