Well, it was a nice idea, but there’s still an obstacle. The
EXIT 0
command is being processed:
U00020411 The command 'EXIT 0000000000' in 'UC4.RESOLVE_AGENT_GROUP.JOBI', line '00048' stopped the generation of this task.
However, the job is remaining in the activities list, in status waiting for host.
U00011113 Task with RunID '0002957013' will be re-started as soon as host '<UNIX>' is active again or the previous error has been corrected.
As soon as I cancel the job, the script included with
:INC_SCRIPT
runs. I don’t want the job to wait for a non-existent host.
Next, I tried using
:STOP NOMSG
.
:IF &PreProc_Error# <> ""
: INC_SCRIPT(2)
: STOP NOMSG
:ENDIF
This causes the job to end in the status
ENDED_EMPTY - task is empty (STOP NOMSG), and the post-process included with
:INC_SCRIPT
is run immediately. This is close enough!