Information
Newer version of documentation BMC provides a newer version of the documentation for this version of the product. As a result, BMC no longer accepts comments in this space.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see bao8301.

CICS KILL TERM


The following table describes the parameters for the IMFEXEC CICS KILL TERM command statement.

Warning

Note

BBI-SS PAS to CICS communication must be active.

Parameter

Function

Notes

Terminal ID

Terminal to which the task is attached

n/a

Type

Type of abnormal termination desired

One of the following values:

PURGE: Purges a task by using the services of the transaction CEMT that is supplied by CICS.

FORCEPURGE: PURGE a task by using the services of the transaction CEMT and the FORCE parameter.

Examples

This section contains an example of using the IMFEXEC CICS KILL TASK and IMFEXEC CICS KILL TERM command statements. A brief discussion follows the example.


Example 1: IMFEXEC CICS KILL TASK

When coded within an EXEC driven off the message FT041S, this command kills a task when the message:

FT04IS TRAN xxx TASK yyyy USING zzzK BYTES

is logged to the online Journal. The task ID is contained in the P004 variable.

/* REXX */
"IMFEXEC CICS KILL TASK 0004"

CLIST example:

IMFEXEC CICS KILL TASK 0004

Example 2: IMFEXEC CICS KILL TERM

This example terminates the CICS task that is attached to terminal BSA4.

REXX EXEC example:

/* REXX */
"IMFEXEC CICS KILL TERM BSA4"

CLIST example:

IMFEXEC CICS KILL TERM BSA4

Related topic

 

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

BMC AMI Ops Automation 8.3