Michael_Lowry

:DEACTIVATE_UC_OBJECT return code 11161

Discussion created by Michael_Lowry on Mar 30, 2017
Latest reply on Mar 30, 2017 by Michael_Lowry
I discovered that :DEACTIVATE_UC_OBJECT returns RC 11161 when a task cannot be deactivated because it is still running. Is that what this return means? Are there any other undocumented return codes?

FWIW, this in in v12.0.1 HF1, and I am using the FORCED option.
:SET &RUN_ID# = <run_id_of_running_task>
:SET &RC# = DEACTIVATE_UC_OBJECT(&RUN_ID#,FORCED)
:PRINT RC: &RC#

Outcomes