The Log Reader Capture Agent must be Stopped to apply changes to the configuration file as described earlier. Stop the Log Reader Capture Agent using the sqdconf utility and JCL similar to the following where the only input is the stop command and the Capture Agent cab file:
//*-----------------------------------
//*- STOP CONFIG FILE
//*-----------------------------------
//STOP EXEC SQDCONF,OWNER=&SYSUID
//SQDPARMS DD *
stop /home/sqdata/imscdc.cab
//*
If a second step is executed to display the status of the Capture Agent, it may still report the capture agent as Started because first stop command is still being processed by the Capture Agent. For that reason we recommend confirming the status of the Capture agent using a separate Job.
//*----------------------------------------
//*- DISPLAY CAPTURE AGENT
//*----------------------------------------
//DISPLAY EXEC SQDCONF,OWNER=&SYSUID
//SQDPARMS DD *
display /home/sqdata/imscdc.cab
Console commands that may be issued, with the proper authority include:
Command Function | Description |
---|---|
P <task_name> | Stops and unmounts the capture immediately |
F <task_name>,PAUSE | Pauses the capture |
F <task_name>,RESUME | Resumes the capture after a pause |
F <task_name>,DISPLAY | Display of the capture cab file with the output being written to SYSPRINT in the running STC |
F <task_name>,STOP | Stops and unmounts the capture |