CICS KILL TERM


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

Note

BBI-SS PAS to CICS communication must be active.

Parameter

Function

Notes

Terminal ID

terminal to which the task is attached

not applicable

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

 

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