Hi, I'm Bolo!
What would you like to know?
ASK BOLOPreview
Please to access Bolo.

Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange Commands
  3. Adabas Log-Based ECCR Commands
  4. Batch VSAM ECCR Commands
  5. CICS/VSAM ECCR Commands
  6. Datacom Table-Based ECCR Commands
  7. DB2 for z/OS ECCR Commands
  8. IDMS Log-Based ECCR Commands
  9. IMS Synchronous ECCR Commands
  10. IMS Log-Based ECCR Commands
  11. PowerExchange Agent Commands
  12. PowerExchange Condense Commands
  13. PowerExchange Listener Commands
  14. PowerExchange Logger for z/OS Commands
  15. PowerExchange Logger for Linux, UNIX, and Windows Commands
  16. pwxcmd Commands

Command Reference

Command Reference

SHUTDOWN Command

SHUTDOWN Command

Stops the PowerExchange Logger for Linux, UNIX, and Windows in a controlled manner after closing open PowerExchange Logger log files and writing the latest restart position to the CDCT file.
During shutdown processing, the PowerExchange Logger performs these actions:
  • Closes open log files.
  • Writes updated log and restart information to the CDCT file.
  • Closes the CAPI.
  • Stops the Writer and Command Handler subtasks.
  • Ends the pwxccl program.
  • Reports CPU usage.
  • Reports summary Logger monitoring statistics if the STATS=(MONITOR) parameter is specified in the PowerExchange Logger configuration file, pwxccl.cfg, either with or without the optional
    interval
    subparameter.
The message output from this command is displayed on screen and is written to the PowerExchange message log.

Syntax

Informatica recommends that you use the pwxcmd program to issue the shutdown command instead of entering the command at a command prompt. With pwxcmd, you can send the command to a PowerExchange Logger process that is running in background or foreground mode on the same system or on a different system.
If you did not configure PowerExchange for pwxcmd use, you can stop a PowerExchange Logger process in one of the following ways:
  • If the PowerExchange Logger process is running in foreground mode, enter the following command at the command prompt:
    SHUTDOWN
  • If the PowerExchange Logger process is running in background mode on a Linux or UNIX operating system, use the kill command to stop the PowerExchange Logger. Ensure that you enter the correct process ID for the command.
  • On Windows, you can end the pwxccl.exe process immediately from the Task Manager.

Usage Notes

Use the SHUTDOWN command to stop a PowerExchange Logger process that is running in continuous mode.
If the PowerExchange Logger is running in batch mode, this command is usually not needed. The PowerExchange Logger process shuts down after the wait period that is specified in the NO_DATA_WAIT2 parameter of the pwxccl.cfg file elapses.

Example Output

The following example SHUTDOWN output shows the progress of shutdown processing:
PWX-06416 Condense: Shutting down because SHUTDOWN event received PWX-26011 Command handler received command "SHUTDOWN" PWX-06463 Command Handler: Close Condense request is now queued. PWX-06464 Command Handler: Shutdown will occur shortly. PWX-06453 Command Handler: shutting down. PWX-33278 Total Records 3036. Inserts 1404. Updates 0. Deletes 1404. UOWs 228. Bytes 652056 PWX-33279 CPU total 670804. This file total 670804. CAPI Reads 156002. Writing file 62400. Other 452402 PWX-33274 CPU Total 670804. CAPI Read 156002. Writing 62400. File switching 0. Other 452402 PWX-06414 Condense: Closing down CAPI PWX-33221 CCLWTR closing after a SHUTDOWN request. PWX-06110 Unloaded module 3 (CCL WRITER). PWX-06060 Controller: subtask Condense ended. PWX-06454 Command Handler: has stopped. PWX-06110 Unloaded module 1 (COMMAND_HANDLER). PWX-06060 Controller: subtask Command Handler ended. PWX-06107 Controller: All subtasks shut down. PWX-25803 Process pwxccl pid 3396 unlocked file C:\Informatica\PowerExchange9.0.0\capture\condenseO_loggerfiles_lockfile.lck PWX-25803 Process pwxccl pid 3396 unlocked file C:\Informatica\PowerExchange8.6.1\CDCT_instance_NORT000_lockfile.lck PWX-33254 pwxccl ended. return code 0 pwxccl ended. rc=0 PWX-33274 CPU Total 686404. CAPI Read 156002. Writing 62400. File switching 0. Other 468002
PWX-00723 Command <Shutdown stats> succeeded PWX-37130 PWXCCL pid = 9064 Writer status = Shutting down PWX-37134 CPU Time = 0:00:00.686404 PWX-37131 Memory (Current/Total/Maximum) PWX-37132 Controller: (476/477/1853) KB Command Handler: (476/477/1853) KB Writer: (0/0/0) KB PWX-37105 Total Memory 16468 KB PWX-37135 Status 9064 Totals I=000000001404 U=000000000000 D=000000001404 C=000000000228 Total=000000003036 PWX-37136 CurrFileOpened : 2016-08-19 10:37:47 I=000000000000 U=000000000000 D=000000000000 C=000000000000 Total=000000000000 PWX-37137 Active Cycle : 2016-08-19 10:37:47 I=000000001404 U=000000000000 D=000000001404 C=000000000228 Total=000000003036
For this example, the pwxccl.cfg file specifies VERBOSE=Y and STATS=(MONITOR). In the output, the monitoring messages are highlighted in bold.
If the PowerExchange Logger runs on a SUSE Linux version 11 machine, the PWX-37105 message incorrectly reports 0 KB as the total amount of memory that the Logger used. This problem does not occur if the Logger runs on a later SUSE Linux version.

0 COMMENTS

We’d like to hear from you!