Question Thembelani Mlalazi · Feb 10, 2025

How to force stop a Live job

I have an operation using $ZF this operation ran and did not error but the job has been active and it can not be stopped I have tried stopping it from the front end and through the terminal using ##class(ENSLIB.Job).%New() Stop method. Now my production will not update even if I add a new item to the production I cannot update the item is there a way to force stop  this job.

Product version: IRIS 2024.1
$ZV: IRIS for Windows (x86-64) 2024.1 (Build 267_2U)

Comments

Jeffrey Drumm · Feb 10, 2025

Does the operation have a job number in the Jobs tab on the right side of the Production page?

That should correspond to the task's process ID in Windows. You should be able to terminate it with Task Manager or the taskkill command.

0
Thembelani Mlalazi  Feb 10, 2025 to Jeffrey Drumm

Used the windows task to kill the process thanks

0
Vic Sun  Feb 10, 2025 to Thembelani Mlalazi

I would generally caution against killing IRIS jobs from outside IRIS, as under rare conditions this could lead to IRIS hanging. If this is a concern I would suggest reaching out to WRC who can help you confirm that a process is safe to terminate.

0