YENDTRGSVR command.
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 behaviour anticipated?
Likewise, if the subsystem is ended with the server jobs running.
How does the *CNTRLD value affect the trigger server? vs *IMMED?
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.