IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

MQ close fails after putting message in queue


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
madhiolli

New User


Joined: 03 Apr 2007
Posts: 5
Location: India

PostPosted: Sun Feb 20, 2011 4:58 pm
Reply with quote

Hi

MQPUT command successfully put the message in the queue.
But if the MQCLOSE or MQDISCONNECT command fails, will the message put earlier remains in the queue?
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1216
Location: Dublin, Ireland

PostPosted: Tue Feb 22, 2011 1:27 pm
Reply with quote

Quote:
MQPUT command successfully put the message in the queue.


Once a message has been put on the queue it is on the queue unless the unit-of-work is backed-out. If you have MQPMO-SYNCPOINT for the MQPUT(1), then you should have committed or rolled-back before the programk gets to either MQCLOSE or MQDISC.

Garry.
Back to top
View user's profile Send private message
madhiolli

New User


Joined: 03 Apr 2007
Posts: 5
Location: India

PostPosted: Tue Feb 22, 2011 1:59 pm
Reply with quote

Thank You very much for the reply. I'm clear now.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts How to close Datacom MUF URT used by ... CICS 0
No new posts Design for Message Trapping and WTO N... All Other Mainframe Topics 2
No new posts Queue application affecting performance CICS 12
No new posts Is there a way to turn off the free=c... PL/I & Assembler 7
No new posts Message Security Assist extension 7 a... PL/I & Assembler 2
Search our Forums:


Back to Top