MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MQ: Would a program trigger if a MQGET fails ?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Mon Sep 11, 2006 2:12 am    Post subject: MQ: Would a program trigger if a MQGET fails ? Reply with quote

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.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Mon Sep 11, 2006 7:03 am    Post subject: Reply with quote

Cogito-Ergo-Sum,

I am sure you already might have gone thru this topic. Check and see if this answers your question

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CSQZAL02/14.4.4?SHELF=&DT=19981130161828&CASE=

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Mon Sep 11, 2006 8:36 am    Post subject: Reply with quote

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. Sad
_________________
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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group