The STOPTASK command stops the task that is specified by the TASKID parameter or by an application name.
Use the MVS MODIFY command to issue the command.
Syntax for stopping by TASKID:
MODIFY
listener_name
,STOPTASK TASKID=
taskid
Syntax for stopping by application name:
MODIFY
listener_name
,STOPTASK
application_name
When you stop CDC sessions, STOPTASK waits for a commit boundary before terminating the task. For more information about commit boundaries and processing, see