If I have a trigger server processing a queue entry and I issue the YENDTRGSVR command. My assumption is that the server will finish
processing the current trigger and, stop reading the queue (even if there are further entries for processing) and then end.
Is this correct or is other behavior anticipated?
How does the *CNTRLD value affect the trigger server? vs *IMMED?
CA 2E version 8.7 and higher
The YENDTRGSVR job does add an entry to the end of the queue and this triggers the ending of the job when the queue is read.
ENDSBS(*IMMED) or ENDSBS(*CNTRLD) will end the job even if the trigger is in mid process.