Please enable JavaScript to view this site.

Navigation: Change Data Capture > Keyed Files > Operation

Stopping the CDCzLog Publisher

Scroll

The CDCzLog Publisher Agent may be Stopped simply to apply changes to the configuration file as described earlier or the Publisher Agent can be Unmounted bringing the agent to a complete stop.

The following example Stops the agent using first the stop command and then the unmount command of the configuration file manager program SQDCONF. JCL similar to the following can be edited to conform to the operating environment and then used to execute the SQDCONF control program:

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

//*  STOP PUBLISHER AGENT

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

//STOP  EXEC SQDCONF,OWNER=&SYSUID  

//SQDPARMS DD *

  stop /home/sqdata/kfilepub1/KFILEPUB1.cab

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

//*  UNMOUNT PUBLISHER AGENT

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

//UNMOUNT  EXEC SQDCONF,OWNER=&SYSUID

//SQDPARMS DD *  

  unmount /home/sqdata/kfilepub1/KFILEPUB1.cab

 

In addition to using the SQDCONF utility, the following operator commands can also be issued to the Publisher:

F <task_name>,STOP – Stops the Publisher but leaves it mounted.

F <task_name>,STOP,UNMOUNT – Stops and unmounts the Publisher (same as the P command).

F <task_name>,START – Starts a Publisher that was previously stopped, but still mounted.

F <task_name>,APPLY – Applies pending CAB file changes to the Publisher CAB file. The Agent must be stopped but still mounted in order to apply.