Please enable JavaScript to view this site.

Navigation: Change Data Capture > Db2 z/OS > Operation

Stopping the Db2/z Capture Agent

Scroll

Capture Agents may be Stopped simply to apply changes to the configuration file as described earlier or Unmounted, which will completely terminate the capture.

Example

Stop the agent and then, using the SQDCONF Unmount command, terminate the Capture Agent which performs a complete shutdown of the address space. JCL is included in the distribution similar to the following and can be edited to conform to the operating environment and then used to execute the SQDCONF Configuration Manager.

//*----------------------------------------

//*-  STOP CAPTURE AGENT

//*----------------------------------------

//STOP     EXEC PGM=SQDCONF

//SYSPRINT DD SYSOUT=*

//SYSOUT   DD SYSOUT=*

//SQDPARMS DD *

stop /home/sqdata/db2cdc1/DB2CDC1.cab

//*----------------------------------------

//*-  UNMOUNT CAPTURE AGENT

//*----------------------------------------

//UNMOUNT  EXEC PGM=SQDCONF

//SYSPRINT DD SYSOUT=*

//SYSOUT   DD SYSOUT=*

//SQDPARMS DD *

unmount /home/sqdata/db2cdc1/DB2CDC1.cab

//*