From: David B. <bd...@us...> - 2005-02-04 15:34:20
|
As Charles mentioned, there is currently no direct way to do this. However, you could have a STAX job that would have a <loop> element, and within the loop element it would have a <stafcmd> to do a "respool query xxx" and another <stafcmd> to do a "delay delay xxxxx" so that the job would be periodically checking to see if the pool has been deleted. If the "respool query xxx" returns an RC 48, then you could have the STAX job generate the event. It's not an elegant solution, but should work. David Bender STAF/STAX Development 8-1268 (512-838-1268) IBM Austin Bldg. 903-5B002 Internet: bd...@us... Jonathan Black <JON...@uk...> Sent by: sta...@li... 02/04/2005 05:48 AM To sta...@li... cc Subject [staf-devel] Register to Receive Events Hi, I'd like to know if it is possible to register with STAX to receive events when things change within staf. For example, when a machine pool (respool) is deleted, an event is raised that can be picked up by my application. Regards, Jon Black |