|
View previous topic :: View next topic
|
| Author |
Message |
madhiolli
New User
Joined: 03 Apr 2007 Posts: 5 Location: India
|
|
|
|
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 |
|
 |
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1216 Location: Dublin, Ireland
|
|
|
|
| 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 |
|
 |
madhiolli
New User
Joined: 03 Apr 2007 Posts: 5 Location: India
|
|
|
|
| Thank You very much for the reply. I'm clear now. |
|
| Back to top |
|
 |
|
|