ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Triggering mainframe Job

Post new topic  Reply to topic
 Triggering mainframe Job « View previous topic :: View next topic » 
Author Message
mbprimer
PostPosted: Thu Aug 02, 2007 9:54 pm    Post subject: Triggering mainframe Job Reply with quote

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?

Env: Broker V5.0 MQ 5.3

Thanks.
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Aug 02, 2007 10:55 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Read up on the TRIGMPRI parameter.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
mbprimer
PostPosted: Fri Aug 03, 2007 11:34 am    Post subject: Triggering Mainframe Job Reply with quote

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.

Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Aug 03, 2007 4:12 pm    Post subject: Re: Triggering Mainframe Job Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Triggering mainframe Job
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.