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/VSAMPUB/vsampub.cab
//*----------------------------------------
//* UNMOUNT PUBLISHER AGENT
//*----------------------------------------
//UNMOUNT EXEC SQDCONF,OWNER=&SYSUID
//SQDPARMS DD *
unmount /home/sqdata/VSAMPUB/vsampub.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.
- F <task_name>,PAUSE – Pauses the Publisher.
- F <task_name>,RESUME – Resumes the Publisher after a pause.
- F <task_name>,DISPLAY – Requests a display of the Publisher CAB file with the output being written to SYSPRINT in the running STC.
- F <task_name>,STOP – Stops the Publisher but leaves it mounted (executing).
- 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's CAB file. The Publisher must be stopped but still mounted in order to apply