|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How do you set CORRELLID in .Net appl to MQCI_NEW_SESSION |
« View previous topic :: View next topic » |
Author |
Message
|
mroets |
Posted: Sat Jun 12, 2004 10:54 pm Post subject: How do you set CORRELLID in .Net appl to MQCI_NEW_SESSION |
|
|
 Newbie
Joined: 27 Apr 2002 Posts: 2 Location: Cape Town
|
I try to use Kolban MQ.DLL assembly and MQ V5.3 CSD 05 amgmdnet.dll assembly for a VB.Net application. I must set the CORELLID to MQCI_NEW_SESSION.
My first problem is that the constant MQCI_NEW_SESSION does not exist in both assemblies. When I try to set it myself I get the following error:
"Cannot set a string to a 1-dimensional byte array"
I need to set the CORRELLID for the MQ CICS Bridge to MQCI_NEW_SESSION.
Any idees how I can set the CORRELLID to MQCI_NEW_SESSION in VB.Net.
Regards,
Marius Roets _________________ Marius Roets
South Africa
EMail : MariusRoets@woolworths.co.za
Mobile : +27-845011012 |
|
Back to top |
|
 |
JasonE |
Posted: Tue Jun 22, 2004 2:19 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Goto fixpack 6 (changes the definition of the correlationid / MQCI_ consts), and define the value yourself...
Something like (untested...)
public static readonly byte[] MQCI_NEW_SESSION = {65,77,81,33,78,69,87,95, 83,69,83,83,73,79,78,95, 67,79,82,82,69,76,73,68}; |
|
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
|
|
|
|