Canceling Threads
The thread attribute groups DB2_Thread_Exceptions, ALL_THREADS, and Thread_Detail provide the cancel thread command attribute Cancel_Command.
Use Cancel_Command to cancel a thread via Take Action. Take Action is available from a table view or Situation Action.
The cancel thread command via Take Action in TEP uses TEP userids for security. For more information, refer to Take Action commands with TEP userids.