Question
Craig Clifford · Mar 4, 2021

Bouncing interface failure to stop job

We have an interface that need to be disabled then re-enabled when it starts to queue up. I wrote the following code to do this functionality in a process. This works in our development domain, but in production it says it fails to disable the job - it only shuts down the interface without updating the production/starting the interface back up. Error message: "Failed to stop job '36831290' within 60 seconds. Status '<unknown>" 

Is there something wrong with how I'm trying to do this? 

set tSC = ##class(Ens.Director).EnableConfigItem(itemname,0,0) 

set tSC = ##class(Ens.Director).UpdateProduction(60)

set tSC = ##class(Ens.Director).EnableConfigItem(itemname,1,0) 

set tSC = ##class(Ens.Director).UpdateProduction(60)

 

00
1 0 1 68
Log in or sign up to continue

Replies

Do you have Jobs per connection or Pool size set to more than one on the interface in Production.