Previous Topic: When Not Using an Abend HandlerNext Topic: Test Facility (DBTS/DBTX)


Using CEMT to Cancel an Active Task

The following procedure shows how CEMT is used to cancel an active task. An active task is one that is waiting for a CA Datacom/DB MUF I/O request to finish.

  1. Use DBOC to check the status of the DBOC TASK output to make certain that the task is waiting for a CA Datacom/DB MUF to respond.
  2. Use a CEMT purge transaction or a CEMT force-purge transaction to cancel the active task.
  3. CA Datacom CICS Services gains control during the cancel (if there is no abend handler) then releases the terminal from the task and issues a wait on the CA Datacom/DB ECB of that task.
  4. After the MUF finishes the I/O request, it posts the ECB.
  5. CA Datacom CICS Services then issues a ROLBK to undo the updates.