Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

MQ close fails after putting message in queue

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
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    Post subject: MQ close fails after putting message in queue
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

Active Member


Joined: 08 May 2006
Posts: 992
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Feb 22, 2011 1:27 pm    Post subject:
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    Post subject: Reply to: MQ close fails after putting message in queue
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    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Truncated error message after VERIFY ... David Sde TSO/ISPF 4 Mon Sep 05, 2016 11:26 pm
No new posts OUTREC FILELDS FAILS WITH ICE126A 2 ... balaji81_k DFSORT/ICETOOL 8 Sat Jul 02, 2016 1:22 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us