Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
Posted: Mon Sep 11, 2006 2:12 am Post subject: MQ: Would a program trigger if a MQGET fails ?
Hi,
I am new to WebSphere MQ Programming and I am unable to find the answer to this question. Can someone please point me to a manual ?
I have a queue with trigger set as 'First'. In my triggerred program, I am doing a MQGET to process the message. But, I realised that, I was passing incorrect MQ Open options. That is, I was opening this queue as Output rather than as Input. Thus, MQGET failed with the message (only one message was put for testing) in the queue as is. Would you think, the program would be still triggerred because of the message in the queue ? _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
Posted: Mon Sep 11, 2006 8:36 am Post subject:
Kolusu,
Actually, that link talks about other messages coming into a queue when a message already exists in the queue.
My case is, I have a message that was never read successfully (MQRC for MQGET was 2037). I am not putting any more messages into that queue. And, yet, I was notified by our CICS Support that, the triggerred transaction was in a loop bringing down the CICS region. Eventually, the CICS job had to be cancelled. _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
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