The CDCzLog Publisher Agent may be Stopped 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/imspub.cab
//*----------------------------------------
//*- UNMOUNT CAPTURE AGENT
//*----------------------------------------
//UNMOUNT EXEC SQDCONF,OWNER=&SYSUID
//SQDPARMS DD *
unmount /home/sqdata/imspub.cab
//*
Console commands that may be issued, with the proper authority include:
Command Function | Description |
---|---|
P <task_name> | Stops and unmounts the agent immediately |
F <task_name>,PAUSE | Pauses the agent |
F <task_name>,RESUME | Resumes the agent after a pause |
F <task_name>,DISPLAY | Display of the agent cab file with the output being written to SYSPRINT in the running STC |
F <task_name>,STOP | Stops the agent but leaves it mounted |
F <task_name>,STOP,UNMOUNT | Stops and unmounts the agent (same as P command) |
F <task_name>,STOP,FLUSH | Stops the agent after flushing out any UOWs that began before the command was issued, then unmounts |
F <task_name>,STOP,FLUSH,FAILOVER | Same as STOP,FLUSH except that it instructs downstream engines to try to reconnect for up to 10 minutes |
F <task_name>,START | Starts an agent that was previously stopped, but still mounted |
F <task_name>,APPLY | Applies pending cab file changes to the agent's cab file. Agent must be mounted, stopped in order to apply |