Previous Topic: Example JCLNext Topic: CONFIRM (Verify Constraint Integrity)


Sample COMM STATUS Online

. . . DB01311I - STATUS DB01327I - Multi-User AVAILABLE, Tasks - Attached----63, Available----87 DB01328I - TIME I/O JOBNAME R-UNIT TASK CMD-DBID-TBL SEQ STATUS ID OWNR/Y TSN-TM DB01329I - :06 257 ***SPILL 157 SPILL WAIT I/O DB01329I - QA#@T796 43571 71 TASK ACTIVE MLT:-T004-DB:-35651 DB01329I - QA#@T796 43571 73 TASK ACTIVE MLT:-T006-DB:-67725 DB01330I - QA#@T796 43571 68 NOT ACTIVE(0002) DB01329I - QA#@T796 43571 70 DELET 796F01 678444 READY TO RUN MLT:-T003-DB:-48157 DB01329I - 1 QA#@T796 43571 74 ADDIT 796K01 678392 WAIT I/O MLT:-T007-DB:-16740 DB01329I - 2 QA#@T796 43571 72 ADDIT 796F03 678393 WAIT I/O MLT:-T005-DB:-21126 DB01329I - QA#@T797 43572 77 TASK ACTIVE MLT:-T003-DB:-28504 . . . DB01329I - T784TST1 43561 23 ADDIT 784F03 736153 WAIT E/C DBSMVR MLT:-T005-DB:-18420 21 DB01329I - T784TST1 43561 24 ADDIT 784RNA 736160 WAIT E/C DBSMVR MLT:-T006-DB:-25068 21 DB01329I - T784TST1 43561 21 ADDIT 784F01 736183 WAIT E/C DBSMVR MLT:-T003-DB:-22024 21 DB01329I - T787TST1 43566 42 TASK ACTIVE MLT:-T006-DB:-29239 DB01329I - T787TST1 43561 39 ADDIT 784F01 736564 READY TO RUN MLT:-T003-DB:-27574 . . . JOB05796 DBDVMUF7:DB01331I - JOBNAME R-UNIT TASK VALUE/RID JOB05796 DBDVMUF7:DB01332I - T784TS1 43561 23 784 F03 JOB05796 DBDVMUF7:DB01332I - T784TS1 43561 24 784 RNA JOB05796 DBDVMUF7:DB01332I - T784TS1 43561 21 784 F01

COMM TASK_ABORT (Abort a Task)

The COMM TASK_ABORT option provides a means of terminating certain tasks open in the MUF.

The COMM TASK_ABORT function communicates with one MUF. Be aware of the following:

If the z/OS Cross-System Coupling Facility (XCF) is being used, ensure that the TOGROUP DBSIDPR parameter is correctly defined. See the CA Datacom/DB Database and System Administration Guide for more information on XCF.

When using a console command, these steps are unnecessary.

When to Use

Use this option to terminate a single-task inactive connection to the MUF.

A typical use of this facility is to abort an inactive TSO task associated with a CA product that uses CA Datacom/AD (AD) as its data repository. Upi may have completed the use of the AD-based product, but left the connection open. Such open connections can prevent bringing the MUF down or closing an associated URT.

Note: TASK_ABORT has no effect on tasks with an active status, tasks with a wait status, or tasks from multi-task connections to the MUF such as those by CA Datacom CICS Services and CA Datacom Server. Additionally, It is not effective for tasks attached remotely using XCF or CCI.

The task number that you specify in TASK_ABORT must be connected to the MUF when you execute this command. Ensure that you specify the desired task number in the TASK_ABORT command. If the task meets the criteria, TASK_ABORT will abort it. If the task is simply a long running task, you probably do not want to abort it.

How to Use

To use the console command, issue a STATUS command or Dynamic System Table query to MUF_ACTIVE_TASKS to obtain the task number of the task that you want to abort. For details, see COMM STATUS (Print Status of MUF Jobs) or the System Tables Reference Guide. Use this task number in the command to issue an abort request.

Use the following in your command to initiate this function from the system console. Consult your site operating system documentation for additional syntax information.

Note: The MUF must be active when you execute this command.

►►─┬────────┬─ TASK_ABORT n ──────────────────────────────────────────────────►◄
   └─ COMM ─┘

Command

COMM

You can omit the COMM function name when submitting this console command.

TASK_ABORT

Requests an abort of a task that was connected to the MUF as a single task and currently in 'NOT ACTIVE' status.

Required Keywords

n

Task number of the task to abort.

How to Use the DBUTLTY Command

To execute the TASK_ABORT function using DBUTLTY:

  1. Perform a STATUS command to determine the task number of the task you want to abort. Alternatively issue a Dynamic System Table query to MUF_ACTIVE_TASKS to obtain this information.
  2. Issue the following command to terminate the request, where 'n' is the task number.

Note: The MUF must be active when you execute this command.

►►─COMM OPTION=CONSOLE,OPTION2='TASK_ABORT n' ───────────────────────────────────►◄