Author |
Message
|
bartland |
Posted: Mon May 17, 2004 7:28 pm Post subject: MQBag not defined in MQAX200 ??? |
|
|
Novice
Joined: 04 May 2004 Posts: 15
|
oleview.exe lists all the other classes such MQSession, etc but no MQBag?
Confusingly Yours
bruce _________________ bruce |
|
Back to top |
|
 |
JasonE |
Posted: Tue May 18, 2004 1:32 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
I dont think there is a direct com interface to the bags calls.
If coding in VB for example, look at the amqsailq example. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue May 18, 2004 4:03 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Umm, Chapter 5 of Using the Component Object Model Interface says
Quote: |
The MQAI ActiveX MQBag class encapsulates the data bags supported by the MQAI in a way that is possible to use in any language that supports the creation of COM objects; |
. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
JasonE |
Posted: Tue May 18, 2004 4:42 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
oops!
You learn something new everyday! I had a (too quick) look through the code and samples and couldnt find any references... It'll teach me to read the manuals instead!!
http://www-1.ibm.com/support/search.wss?apar=include&q=IC36158 might also be relevant
Look in oleview for "IBM MQSeries Bag Object"
Sorry for the misinformation... |
|
Back to top |
|
 |
bartland |
Posted: Wed May 19, 2004 11:36 pm Post subject: |
|
|
Novice
Joined: 04 May 2004 Posts: 15
|
and the confusion continues.
From the above link (burrow, burrow, burrow), I downloaded 'U200202A.exe' (24MB) listed as 'WebSphere MQ for Windows V5.3 - Fix Pack 6' (CSD06) which installs MQAX200.DLL version 5.300.600.4043.
No luck.
Next I try macvEnUS.exe (77MB) which I got through our sysadmin which says it is also CSD06 (??) and which installs MQAX200.DLL version 5.300.600.4062 (later).
Still no luck.
Unless of course MQAX200.DLL doesn't contain MQBag and some other DLL does - but none of the others are COM dlls.
// Forward declare all types defined in this typelib
dispinterface IMQSession200;
dispinterface IMQQueue200;
dispinterface IMQQueue500;
dispinterface IMQPutMessageOptions200;
dispinterface IMQPutMessageOptions500;
dispinterface IMQGetMessageOptions200;
dispinterface IMQGetMessageOptions500;
dispinterface IMQMessage200;
dispinterface IMQMessage500;
dispinterface IMQQueueManager200;
dispinterface IMQQueueManager500;
dispinterface IMQDistributionListItem500;
dispinterface IMQDistributionList500;
bruce _________________ bruce |
|
Back to top |
|
 |
JasonE |
Posted: Thu May 20, 2004 12:40 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
I think that the interfaces are in amqzaix.dll...
The macv* download is the fixpack 6 standalone client. It has a more recent version due to the build date, but is identical to the fixpack 6 server (u200202a) download for the server (where they overlap, obviously). |
|
Back to top |
|
 |
bartland |
Posted: Thu May 20, 2004 3:09 pm Post subject: |
|
|
Novice
Joined: 04 May 2004 Posts: 15
|
(BTW - replies much appreciated. Great forum)
No such DLL.
amqxcs2.dll, amqzsaic.dll, amqzsaicxa.dll, mqic32.dll, mqic32xa.dll all contain mqbag functions but no classes. None of them are COM.
Seems the manual is wrong and the mqbag interface is just a set of standard API calls.
Have to leave this for a while and do other stuff. Maybe when I get back to it we'll have moved to .NET (or miracle or miracles - Java/JMS).
thanks _________________ bruce |
|
Back to top |
|
 |
JasonE |
Posted: Fri May 21, 2004 4:41 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Its server side only... not shipped with the client install. |
|
Back to top |
|
 |
|