|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
PCF commands using MQHBAG |
« View previous topic :: View next topic » |
Author |
Message
|
Rush124 |
Posted: Thu Sep 11, 2014 3:43 am Post subject: PCF commands using MQHBAG |
|
|
Novice
Joined: 05 Aug 2014 Posts: 19
|
Hi,
I m creating an adminBag using mqCreateBag(MQCBO_ADMIN_BAG) to send PCF commands And a responseBag to get reply messages.
Before creating bags, i m getting connected to Queue Manager.
But in the mqCreateBag command, connection handler is not used used as a parameter.
( bag creating code - mqCreateBag(MQCBO_ADMIN_BAG, &adminBag, &compCode, &reason); )
So how does mqCreateBag operate without the knowledge of it's QueueManager and other information (e.g.:- channel)??
(I am using c++)
Thanks in advance |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 11, 2014 4:05 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
you don't really need a connection to build a message. All you need are the rules on how to build the message. You do need a connection to send the message and get answers....  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Rush124 |
Posted: Thu Sep 11, 2014 8:16 pm Post subject: |
|
|
Novice
Joined: 05 Aug 2014 Posts: 19
|
Thank you, I got it.
I do not need to know the connection handler, when creating the bag. But when executing (Sending the command), connection handler is needed and passed as a parameter in mqExecute call.  |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|