Table of Contents

Search

  1. Preface
  2. Change Data Capture Introduction
  3. PowerExchange Listener
  4. PowerExchange Condense
  5. DB2 for i5/OS Change Data Capture
  6. Remote Logging of Data
  7. Introduction to Change Data Extraction
  8. Extracting Change Data
  9. Monitoring CDC Sessions
  10. Managing Change Data Extractions
  11. Tuning CDC Sessions
  12. Appendix A: DTL__CAPXTIMESTAMP Time Stamps

CDC Guide for i5/OS

CDC Guide for i5/OS

PowerExchange Listener DISPLAYSTATS Command

PowerExchange Listener DISPLAYSTATS Command

You can use the PowerExchange Listener DISPLAYSTATS or pwxcmd displalystats command to publish monitoring statistics for a PowerExchange Listener that runs on i5/OS, Linux, zLinux, UNIX, Windows, or z/OS.
Before you run the command, configure the following statements in the DBMOVER configuration file:
  • Specify the MONITOR parameter in the STATS statement in the DBMOVER configuration file to enable PowerExchange to collect these statistics. You can include the
    interval
    subparameter to publish the statistics at a regular interval as well as on demand.
  • For the proper display of monitoring output on z/OS, set the LOG_LINE_LIMIT statement to 132. Otherwise, the lines might wrap awkwardly, making the output hard to read.
You can issue the command in any of the followings ways:
  • From the command line on the Linux, UNIX, Windows, or zLinux system where the PowerExchange Listener runs.
  • With the MVS MODIFY (F) command on the z/OS system where the PowerExchange Listener runs.
  • With the pwxcmd program from a remote Linux, UNIX, and Windows system to a Listener on any supported operating system.
    You must use this method to publish monitoring statistics for a PowerExchange Listener on i5/OS on demand.
The command syntax depends on the operating system type and whether you use pwxcmd. For more information, see the
PowerExchange Command Reference
.
Depending on which command parameter you use, you can publish one of the following types of reports:
  • Listener
    . Reports PowerExchange Listener summary statistics on memory usage, CPU processing time, and activity on behalf of client requests. These statistics include counts of client tasks, connections, number of messages sent and received, bytes of data sent and received, and netport jobs (z/OS only). These statistics include both bulk data movement and CDC tasks.
    If you run a PowerExchange Listener Service in the Informatica Domain, you can use the infacmd pwx displayStatsListener command to publish these statistics. For more information, see the
    Informatica Command Reference
    .
  • Accessmethods
    . Reports statistics on PowerExchange Listener message and data transfer activity by client task and access method. For each active task and access method combination, these statistics include the number of rows read and written, bytes of data read and written, the source or target file name or data map file name, and the CPU processing time. For CDC requests that use the CAPX or CAPXRT access method, the report also includes counts of the SQL inserts, updates, and deletes that the task processed.
  • Clients
    . Reports information about the active client tasks that are running under the PowerExchange Listener. For each task, the statistics show some or all of the following information: the status, access method, read or write mode, process name and session ID if available, CPU processing time, and start date and time. The statistics also include the client port number and IP address. If the client is PowerCenter, the statistics include the PowerCenter session ID and the application name for CDC.
By default, the Listener report is published.
The reports for a PowerExchange Listener on z/OS are similar to those for a PowerExchange Listener on i5/OS, Linux, zLinux, UNIX, or Windows.
The following example Listener report is for a PowerExchange Listener on z/OS:
PWX-00723 Command <displaystats Listener> succeeded PWX-37101 Listener <PWXLST > ASID=375 (x'177') UserID=AUSRID PWX-37102 Memory PWX-37103 Region below 16-MB line: In Use 108 KB Limit Value 9192 KB Free 9084 KB PWX-37104 Region above 16-MB line: In Use 53912 KB Limit Value 1675264 KB Free 1621352 KB PWX-37117 CPU Time PWX-37118 TCB Time = 0 SRB Time = 0 zIIP-NTime = 0 PWX-37119 Listener = 0 hrs, 0 mins, 1 secs, 275762 mcrs PWX-37106 Cumulative Requests PWX-37107 Total Tasks= 11 Active Tasks = 3 HWM Tasks = 3 Maxtasks = 50 PWX-37108 Connections= 11 Accepted = 11 Active = 0 PWX-37109 Msgs Sent = 0 Msgs Received= 22 PWX-37110 Data Sent = 0 Data Received= 7304 PWX-37111 NetportJobs= 0
The
Memory
,
TCB Time
,
SRB Time
, and
NetportJobs
values are specific to the PowerExchange Listener on z/OS. For a PowerExchange Listener on i5/OS, Linux, UNIX, or Windows, the report displays the total memory usage.
You can use this report determine if the number of client tasks is reaching the limit that is set in the MAXTASKS statement of the DBMOVER configuration file. Compare the
HWM Tasks
value to the
Maxtasks
value. If the HWM Tasks value reaches the MAXTASKS limit, PowerExchange Listener processing might be delayed, which can cause reduced throughput and connection timeouts.
The following example accessmethods report is for a PowerExchange Listener on z/OS, but the same fields are displayed for a PowerExchange Listener on i5/OS, Linux, UNIX, Windows, or zLinux:
PWX-00723 Command <displaystats AccessMethods> succeeded PWX-37201 Active Access Methods PWX-37202 Task ID = 42412 AM = CAPXRT PWX-37203 Rows read = 1029 Rows written = 0 PWX-37204 Bytes read = 116277 Bytes written = 0 PWX-37205 File = d2ivd0.d002root_ROOT PWX-37206 Table = <Capture Extract Realtime> PWX-37208 Inserts = 564 Updates = 0 Deletes = 465 PWX-37121 CPU time = 0 hrs, 0 mins, 0 secs, 299809 mcrs PWX-37202 Task ID = 42414 AM = NRDB PWX-37203 Rows read = 10 Rows written = 0 PWX-37204 Bytes read = 570 Bytes written = 0 PWX-37205 File = ABC.VSAM.MASTER_REC PWX-37206 Table = <Non-relational source> PWX-37202 Task ID = 42414 AM = KSDS PWX-37203 Rows read = 10 Rows written = 0 PWX-37204 Bytes read = 800 Bytes written = 0 PWX-37205 File = XYQ.TEST.V1.KSDS PWX-37206 Table = XYQ.TEST.V1.KSDS PWX-37121 CPU time = 0 hrs, 0 mins, 0 secs, 76151 mcrs
For the CAPXRT and CAPX access methods, the report includes the number of SQL inserts, updates, and deletes that the task processed for a CDC request.
A client task can have multiple access methods, for example, one for reading source data and one for mapping nonrelational source data to a relational format. In the example output, task 42414 uses the NRDB access method with the data map file specified in the
File
field to map nonrelational data to a relational format. The same task uses the KSDS access method to retrieve data from the KSDS data set specified in the
File
field.
The following example clients report is for a PowerExchange Listener on Windows, but the same fields are displayed for a PowerExchange Listener on i5/OS, Linux, zLinux, UNIX, or z/OS:
PWX-00723 Command <displaystats Clients> succeeded PWX-37112 Active Tasks PWX-37113 Task ID = 41942 Status = Active PWX-37114 Port = 2480 Partner = 127.0.0.1 PWX-37115 PwrCntrSess = N/A PWX-37207 Application = N/A PWX-37116 AM = NRDB Mode = Read Process = DTLLST3 SessionId = PWX-37121 CPU time = 0 hrs, 0 mins, 0 secs, 62400 mcrs PWX-37122 Start time = 2014-05-01 14:21:37 PWX-37113 Task ID = 41943 Status = Active PWX-37114 Port = 2480 Partner = 127.0.0.1 PWX-37115 PwrCntrSess = N/A PWX-37207 Application = N/A PWX-37116 AM = NRDB Mode = Read Process = DTLLST3 SessionId = PWX-37121 CPU time = 0 hrs, 0 mins, 0 secs, 124800 mcrs PWX-37122 Start time = 2014-05-01 14:22:01
The
Partner
field displays the IP address of the client that issued the request that caused the PowerExchange Listener to create the task. This value begins with ::ffff for an IPv6 address.
For more information about the fields in each of these reports, see the
PowerExchange Command Reference
.

0 COMMENTS

We’d like to hear from you!