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: 1193
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
No new posts IMS Message : DFS3577A IMS DB/DC 4
No new posts MQ response when MQGET of a stopped q... Java & MQSeries 2
No new posts IOF Output Queue & REXX(?) All Other Mainframe Topics 2
No new posts Is there a way to close VSAM files us... CICS 8
Search our Forums:

Back to Top