Posted: Thu Aug 02, 2007 9:54 pm Post subject: Triggering mainframe Job
Novice
Joined: 25 Mar 2007 Posts: 21
Broker sends a group of 'n' messages(Setting MsgFlags) to Output Queue.
For 1.....(n-1) msgs i am setting
SET OutputRoot.MQMD.MsgFlags = 8
SET OutputRoot.MQMD.Priority = 0
For nth message setting
SET OutputRoot.MQMD.MsgFlags = 24
SET OutputRoot.MQMD.Priority = 5
The Mainframe job should trigger when it gets the last message in the group and then job has to read all the messages from Queue writes to DB.
how to trigger the mainframe job upon getting last message with Priority?
Posted: Fri Aug 03, 2007 11:34 am Post subject: Triggering Mainframe Job
Novice
Joined: 25 Mar 2007 Posts: 21
Thanks Eddie.
We want to send the "GroupId" as the Trigger messageTRIGMSGDATA) . How can we set the GroupId in TRIGMSGDATA because the
GroupId changes for each Group of messages.
Posted: Fri Aug 03, 2007 4:12 pm Post subject: Re: Triggering Mainframe Job
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
mbprimer wrote:
Thanks Eddie.
We want to send the "GroupId" as the Trigger messageTRIGMSGDATA) . How can we set the GroupId in TRIGMSGDATA because the
GroupId changes for each Group of messages.
Thanks
You would have to either a) write your own trigger monitor, or b) produce your own trigger messages.
Please don't do either of those.
Please spend another hour re-reading the application programming guide about message groups, and consider using the features of the product as supplied, instead. _________________ I am *not* the model of the modern major general.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum