CICS TKILL
This command terminates a CICS task identified by a CICS task number.
You should use this command only after a KILL with PURGE or FORCEPURGE is attempted for the task and these commands have failed.
Command | Parameters |
---|---|
CICS TKILL | Task number |
The following table describes the parameters.
Parameter | Function | Notes |
---|---|---|
Task number | number of the task to be terminated | 1- to 5-numeric task number assigned by CICS Prior to using this command, you must first attempt to end the task with the IMFEXEC KILL PURGE or FORCEPURGE command. For more information, refer to the documentation for IMFEXEC CICS KILL command on CICS-KILL. If you attempt to use the IMFEXEC TKILL command before you have used the IMFEXEC CICS KILL PURGE or FORCEPURGE command, the FT456E message is written to the BBI journal. |
Example
The following examples show the syntax of the IMFEXEC TKILL command used to end a CICS task named 12345.
CLIST example: