Task problems


This topic describes task problems. Task views are described in Task-views

Related topic

What tasks are executing on a IBM CICS region?

The TASK view shows all user-tasks that are currently executing on a CICS region. It displays the task ID, execution state, transaction ID, CPU time, as well as the suspend type and time if the task is currently suspended. A hyperlink on the Task ID field displays a menu showing the types of data that is available from the detail views for each task.

The related detail views show all aspects of the task including elapsed task time, organized into the components of the various suspends, and the CPU time accumulated on all types of CICS TCBs. Information is also available relating to the utilization of CICS resources, DB2, MQ, DBCTL, and so on, by the executing task.

Which tasks executing on a CICS region are using DB2?

The TASKDB2 view provides a tabular list of all tasks currently executing on a CICS region that have made calls to the DB2 attachment facility. This view shows the task ID, execution state, transaction ID, DB2 subsystem name, elapsed time, and the RMI time spent talking to DB2. A hyperlink on the Task ID field displays a menu showing the types of data that available from the detail views for each task.

The related detail views show all aspects of the task including elapsed task time, organized into the components of the various suspends, and the CPU time accumulated on all types of CICS TCBs. Information is also available relating to the utilization of CICS resources, DB2, MQ, DBCTL, and so on, by the executing task.

Which tasks executing on a CICS region are using DBCTL?

The TASKDBC view provides a tabular list of all tasks currently executing on a CICS region that have made calls to the DBCTL attachment facility. This view shows the task ID, execution state, transaction ID, DBCTL subsystem name, elapsed time, and the RMI time spent talking to DBCTL. A hyperlink on the Task ID field displays a menu showing the types of data available from the detail views for each task.

The related detail views show all aspects of the task including elapsed task time, organized into the components of the various suspends, and the CPU time accumulated on all types of CICS TCBs. Information is also available relating to the utilization of CICS resources, DB2, MQ, DBCTL, and so on, by the executing task.

Which executing tasks are using MQ?

The TASKMQ view provides a tabular list of all tasks currently executing on a CICS region that have made calls to the MQ attachment facility. This view shows the task ID, execution state, transaction ID, MQ subsystem name, elapsed time, and the RMI time spent talking to MQ. A hyperlink on the Task ID displays the tabular view to a menu showing the types of data available from the detail views for each task.

The related detail views show all aspects of the task including elapsed task time, organized into the components of the various suspends, and the CPU time accumulated on all type of CICS TCBs. Information is also available relating to the utilization of CICS resources, DB2, MQ, DBCTL, and so on, by the executing task.

A task has been waiting on a resource for a substantial period of time. How can I determine which task is holding that resource?

The TASKLCK view provides a tabular list of all resources or enqueues (locks) that are being held or waited on by executing tasks. This view shows the Task ID, execution state, transaction ID, lock type, whether it is a holder or a waiter, the time the lock has been held or waited on by the task, and information about the name of the resource in question. A hyperlink on the Task ID displays the types of data that is available from the detail views for each lock.

How do I cancel an executing task?

All of the views in the TASK family have actions that are associated with them to terminate active tasks. These actions are

  • CANCEL
  • PURGE
  • TKILL
  • FORCE
  • KILL
  • DELETE

The details of these actions are available in the help for the TASK views.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*