When an application program updates a database file and the file has a trigger attached to it that specifies the Trigger Router as the trigger program, the Trigger Router checks for any records in the Trigger References File for the trigger. For each record found, it takes the appropriate action by directly calling the specified Trigger Function or sending a request for the Trigger Function to be called by the Trigger Server, by passing the Trigger Function parameters as an entry in the Trigger Data Queue.
The Trigger Router is implemented specifying ACTGRP(*CALLER) and USRPRF(*OWNER), according to IBM recommendations. All *PUBLIC access to the Trigger Router is *EXCLUDE.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |