|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Trigtype First is not functioning properly |
« View previous topic :: View next topic » |
Author |
Message
|
cute_pav |
Posted: Sat Sep 07, 2002 9:24 am Post subject: Trigtype First is not functioning properly |
|
|
Acolyte
Joined: 04 Jan 2002 Posts: 65 Location: usa
|
Hi,
I am using MQ5.2 and MQSI2.1.My recieving queue set with Trigtyp (FIRST) and this trigger functionality is not consistantly working.When I alter to trigtyp(EVERY) for the same condition.It works.I prefer trigtyp(FIRST) for my design.I checked attributes of the specific queue IPPROCS and OPPROCS found to be 1 and 1 respectively(when the 'first' is not functioning).
Can you shed some views to alter these to zero.I would like to know why this should happen and what are solutions to make trigtyp(FIRST) work consistantly.
cheers,
pavan |
|
Back to top |
|
 |
kirani |
Posted: Sat Sep 07, 2002 9:54 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Trigger type "First" will occur only when the queue depth goes from 0 to 1. Typically, you should use trigger type FIRST for starting a program, which will continue until there are no more messages to process on the queue. Please make sure that messages are not building up in output queue. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
bduncan |
Posted: Sat Sep 07, 2002 12:38 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Could you please describe in more detail the conditions that are present when trigger type first fails to work? Various queue depths, IPPROCs and OPPROCs on the initiation queue, output from the trigger monitor, etc... _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
cute_pav |
Posted: Sat Sep 07, 2002 3:02 pm Post subject: |
|
|
Acolyte
Joined: 04 Jan 2002 Posts: 65 Location: usa
|
HI, Kiran,
I am clear the queue(queue depth is 0 only) and did this. As I was saying though, I cleared the queue IPPROCS is 1.I believe this leading to failure of next first message.
Hi, duncan
trigtype first failure senario
queue depth, IPPROCS, OPPROCS are 0,1,1 respectively
also 0,1,0 fails.
But trigtype every succeeds on cases.
I would like to know, why the IPPROCS is 1.Do we have any command to change this attribute explicitly as alter ql is not working for this attribute?
I would like to restart QMGR but I feel its not the right solution for runtime environment.
Can anyone tell how can I correct this for not to happen next time. |
|
Back to top |
|
 |
nimconsult |
Posted: Sun Sep 08, 2002 10:35 pm Post subject: |
|
|
 Master
Joined: 22 May 2002 Posts: 268 Location: NIMCONSULT - Belgium
|
trigtype(first) does not trigger if ipprocs is 1. That must be the reason of your problem.
ipprocs 1 means that an application or a user (with pqedit or other queue editing program) has an open handle on the queue. Or it may mean that an application has stopped without closing and disconnecting smoothly, but in this case the problem should be temporary. _________________ Nicolas Maréchal
Senior Architect - Partner
NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|