ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » MQCC_WARNING when closing queue. Queue closed or not ????

Post new topic  Reply to topic
 MQCC_WARNING when closing queue. Queue closed or not ???? « View previous topic :: View next topic » 
Author Message
emakaay
PostPosted: Tue Nov 04, 2003 2:08 am    Post subject: MQCC_WARNING when closing queue. Queue closed or not ???? Reply with quote

Newbie

Joined: 16 Oct 2003
Posts: 9

Hello everybody,

I'm putting group messages on a queue. If I don't place the LAST_MESSAGE message on the queue, and I close the handle to that queue I get a completion code with the value Warning(1) and reason code Incomplete group message(2241).

I know why I get this completion code. It is because the group message is not complete. But I would like to know if the queue is closed or not. I guess the handle to the queue is closed, because I've gotten a warning instead of a failure, but I'm not sure.

Any ideas ??

Erik
Back to top
View user's profile Send private message
mqonnet
PostPosted: Tue Nov 04, 2003 5:55 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

When a warning is returned by MQ, it tells the app/programmer that there was something missing that was supposed to be there. It does not effect the Api call that was made that returned this warning. In your case, the close would have been successful, only that it returns a message to the app saying that you missed out putting the last message in the group.


Cheers
Kumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » MQCC_WARNING when closing queue. Queue closed or not ????
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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.