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 » General Discussion » PROBLEM WITH MQSERIES TRIGGERING for AS400

Post new topic  Reply to topic
 PROBLEM WITH MQSERIES TRIGGERING for AS400 « View previous topic :: View next topic » 
Author Message
sameergn
PostPosted: Thu Jun 16, 2005 2:59 am    Post subject: PROBLEM WITH MQSERIES TRIGGERING for AS400 Reply with quote

Newbie

Joined: 15 Jun 2005
Posts: 4

Hi All,
We are configuring an as400 system to trigger based on trigger type first.The application Q is configured with all the neccessary parameters includin the initiation q .The problem is even though the trigger monitor is started using "STRMQMTRM" COOMAND ,i t is unable to trigger the application.
Istopped the trigger monior and tried. The meesage not coming to Initiation Queue itself.Please help with this problem

Regards,
Sam
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jefflowrey
PostPosted: Thu Jun 16, 2005 3:34 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There's a section in Chapter 14 of the Application Programming Guie called "Conditions for a trigger event".

It's a 14 item list of what has to take place before a trigger message is created.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Jun 16, 2005 3:50 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

And unless there is a backlog of trigger messages, you normally don't see a trigger message on an initiation queue (if the queue isn't open for input, the queue manager doesn't generate trigger messages, if it is open, the tirgger monitor consumes the message as soon as its put on the initq)
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
sameergn
PostPosted: Mon Jun 20, 2005 4:24 am    Post subject: Reply with quote

Newbie

Joined: 15 Jun 2005
Posts: 4

Hi,
I had tried starting with STRMQMTRM and with the initiation queue open for input also, Infact the INIT Q 's OPEN INPUT COUNT IS 1 (means Trigger monitor running) ,but still my program is not getting triggered.No Idea what is wrong ..

Thanks in advance
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jefflowrey
PostPosted: Mon Jun 20, 2005 4:28 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So let's confirm the following things:

You have logged into the as/400 box as a user that has mqm privledges.

From the command line you have run strmqmtrm, and left it running.

You have then cleared your application queue, and put a new message.

And you do not see anything happening in the output from strmqmtrm?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ulli
PostPosted: Mon Jun 20, 2005 8:01 am    Post subject: Reply with quote

Novice

Joined: 16 Aug 2004
Posts: 20

Could you give some more informations, please?
Your queue definition, process definition, the whole STRMQMTRM command ...
Regards, Ulli
Back to top
View user's profile Send private message
sameergn
PostPosted: Wed Jun 22, 2005 2:33 am    Post subject: Reply with quote

Newbie

Joined: 15 Jun 2005
Posts: 4

This is what we did in detail,

We are configuring an AS400 system to trigger based on trigger type first.The application Q is configured with all the neccessary parameters like,Trigger ON,TRIGTYPE(FIRST),ProcessDefinition(<ProcessDefibnition>),InitiationQ(<InitQ>) .The Trigger Monitor is Started using the command

STRMQMTRM INITQNAME(<InitQ>) MQMNAME(<Qmanager>)

The Initiation Q contains the Open Inut Count as 1, meaning that a process listening on that Queue (This Veriies that Trigger Monitor is running).
The problem is even though the trigger monitor is started using "STRMQMTRM" COMMAND ,it is unable to trigger the application.
To diagnose the problem we changed the Initiation Q to some other Local Queue on which the Trigger Monitor is not running.But No message was put into the Initiation Q when the Application Queue depth changed from 0 to 1Not Sure what is going wrong.

We also tried with Trigger Server, 'AMQSERV4' . But we are unaware ,How to trigger using that on a particular Queue Manager.As we cannot give Queue Manager as the parameter.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kevinf2349
PostPosted: Wed Jun 22, 2005 5:10 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Then one of the 14 triggering conditions must not be being met.....or your process is not correctly defined/authorised.

Could it also be that the queue depth only goes to 1 when the application program ends or is the program still running when you see the depth change? I am hinting at syncpoint here.

If I were you I would check off all the items on the trigger condition list. I assure you triggering works. The bottom line is that if you aren't getting a message on the initiation then no trigger message is being generated, that is usually because one of the 14 conditions is not being met.
Back to top
View user's profile Send private message
JT
PostPosted: Wed Jun 22, 2005 5:34 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

sameergn wrote:
To diagnose the problem we changed the Initiation Q to some other Local Queue on which the Trigger Monitor is not running.But No message was put into the Initiation Q when the Application Queue depth changed from 0 to 1Not Sure what is going wrong.

From the Application Programming Guide on triggering:
Quote:
The queue manager creates a trigger message and puts it on the initiation queue associated with this application queue, but only if an application (trigger monitor) has the initiation queue open for input.
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Jun 22, 2005 6:44 am    Post subject: Reply with quote

Jedi

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

Are you seeing any mesages on the DLQ. Take a look at the reason code.

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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » PROBLEM WITH MQSERIES TRIGGERING for AS400
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.