YENDTRGSVR command

book

Article ID: 15460

calendar_today

Updated On:

Products

CA 2E

Issue/Introduction

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?

Environment

IBM Iseries

Resolution

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.