Stop CDC sessions through PowerCenter by issuing the stop command from Workflow Monitor or
pmcmd
. You can also stop CDC sessions through PowerExchange by issuing the STOPTASK command or by running the DTLUTSK utility. You can also abnormally terminate a workflow or task with the abort command in Workflow Monitor or
pmcmd
.
When you stop a workflow or task gracefully by issuing the stop command through PowerCenter or PowerExchange, the following actions occur:
If you issue the PowerCenter stop command, the PowerCenter Integration Service requests PWXPC to stop.
If you issue the PowerExchange stop command, PowerExchange sends an end of file to PWXPC.
PWXPC performs end of file processing to flush the remaining uncommitted complete units of work and their associated restart tokens to the targets. PWXPC then write messages PWXPC_12101 and PWXPC_12068 to the session log.
The PowerCenter Integration Service processes all of data in the pipeline and writes it to the targets.
The PowerCenter Integration Service sends an acknowledgement to PWXPC indicating that the targets have been updated.
PWXPC writes the termination restart token file, and then writes message PWXPC_12075 to the session log. After this, the PWXPC reader shuts down.
The PowerCenter Integration Service ends the session successfully.
You can also stop CDC sessions gracefully if you use:
Idle Time=0 in the PWX CDC Real Time connection. Idle Time=0 instructs PowerExchange to stop processing at end of log.
PWX CDC Change connection to extract changes from condense files. When you use PowerExchange batch extraction mode for condense files, the extraction automatically ends when all condensed data is read.