Requests the cancellation of a user task.
CEKL SET TASK initiates a PURGE, FORCEPURGE, or KILL request.
The syntax of the CEKL SET TASK command is as follows:
For each of the preceding options if the task is in any way associated with an open TCB (for example, it involves a Java program running on a J8 or J9 mode TCB), you could experience a short delay before the task is finally purged.
The following figure shows the output that is generated after CEKL has been invoked to initially purge a task, for example CEKL SET TASK(62) PURGE.
If you attempt to reissue the purge command the system returns the message informing you that the task is already being purged and it ignores your second command. If you consider that the purge has already taken too long, you can issue a forcepurge command, for example, CEKL SET TASK(62) FORCEPURGE.
If the task still remains in the system after an unacceptable length of time you can issue the kill command, for example, CEKL SET TASK(62) KILL. This always removes the task from your system. You can confirm this by entering for example,CEKL INQ TASK(62).
F MEACO22X,CEKL SET TA(62) PUR +IYK2ZFX3 DFHCQ0252I CEKL SET: PURGE request issued for task number 00062. +IYK2ZFX3 TAS(00062) PUR SUS QR CEMT USE(CICSUSER) ATT(00270) CPU(*****) RUA(00005) +IYK2ZFX3 HTI(00271) HTY(ZCIOWAIT) HVA(DFHZARQ1) F MEACO22X,CEKL SET TA(62) PUR +IYK2ZFX3 DFHCQ0253I CEKL SET: PURGE request ignored; task number 00062 is being purged +IYK2ZFX3 TAS(00062) PUR SUS QR CEMT USE(CICSUSER) ATT(00288) CPU(*****) RUA(00005) +IYK2ZFX3 HTI(00289) HTY(ZCIOWAIT) HVA(DFHZARQ1) +IYK2ZFX3 DFHCQ0252I CEKL SET: FORCEPURGE request issued for task number 00062. +IYK2ZFX3 TAS(00062) FOR SUS QR CEMT USE(CICSUSER) ATT(00270) CPU(*****) RUA(00005) +IYK2ZFX3 HTI(00271) HTY(ZCIOWAIT) HVA(DFHZARQ1) +IYK2ZFX3 DFHCQ0257I CEKL SET: FORCEPURGE request ignored; task number 00062 is being forcepurged +IYK2ZFX3 TAS(00062) FOR SUS QR CEMT USE(CICSUSER) ATT(00288) CPU(*****) RUA(00005) +IYK2ZFX3 HTI(00289) HTY(ZCIOWAIT) HVA(DFHZARQ1) F MEACO22X,CEKL SET TA(62) KILL +IYK2ZFX3 DFHCQ0259I CEKL SET: KILL request issued for task number 00062. +IYK2ZFX3 TAS(00062) KIL SUS QR CEMT USE(CICSUSER) ATT(00394) CPU(*****) RUA(00005) +IYK2ZFX3 HTI(00395) HTY(ZCIOWAIT) HVA(DFHZARQ1) F MEACO22X,CEKL I TA(62) +IYK2ZFX3 DFHCQ0242I CEKL INQUIRE: no tasks matched selection criteria.