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 » General Discussion » Applications and MQI

Post new topic  Reply to topic
 Applications and MQI « View previous topic :: View next topic » 
Author Message
Lakshmi
PostPosted: Tue Jan 06, 2004 1:23 am    Post subject: Applications and MQI Reply with quote

Newbie

Joined: 09 Sep 2003
Posts: 4

what is the diffenrence between
endmqm
and
endmqm -i command

endmqm

endmqm commands states that queue manager will stops only after all applications have disconnected.

endmqm -i

states that queue manager stops after it has completed all the MQI calls currents being processed.


what is the difference between applications and mqi calls i am new to mq admin. i have read doc's but i am not able to get the clear picuture , pl. help.

thanks,
lakshmi
Back to top
View user's profile Send private message
JasonE
PostPosted: Tue Jan 06, 2004 2:41 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Quote:
what is the difference between applications and mqi calls i am new to mq admin. i have read doc's but i am not able to get the clear picuture , pl. help.

Applications make MQI calls if they are calling the standard MQOPEN, MQCLOSE etc interface.

For the difference between endmqm and endmqm -i, take as example amqsput SYSTEM.DEFAULT.LOCAL.QUEUE QM. If you leave it waiting for input and do endmqm, the qmgr is still running until you end the application. If you do endmqm -i, it terminates regardless of the application running.

As to which to use - depends on your environment/setup ie whether you are prepared to wait, and whether your applications ever end!
Back to top
View user's profile Send private message
kman
PostPosted: Tue Jan 06, 2004 2:42 am    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2003
Posts: 309
Location: Kuala Lumpur, Malaysia

endmqm -i would end the queue manager immediately after completing the current call (MQCONN, MQOPEN,... MQDISC). It will not wait for the applications to disconnect gracefully.

endmqm would wait for the application to finally issue MQDISC so that it disconnects from the queue manager.

At least that is what it is meant.

Applications issues MQI calls. The final MQI calls before the application terminates is MQDISC - disconnects. In between, application can issue any MQI calls.
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Applications and MQI
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.