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 IBM MQ Support » How do you set CORRELLID in .Net appl to MQCI_NEW_SESSION

Post new topic  Reply to topic
 How do you set CORRELLID in .Net appl to MQCI_NEW_SESSION « View previous topic :: View next topic » 
Author Message
mroets
PostPosted: Sat Jun 12, 2004 10:54 pm    Post subject: How do you set CORRELLID in .Net appl to MQCI_NEW_SESSION Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
JasonE
PostPosted: Tue Jun 22, 2004 2:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How do you set CORRELLID in .Net appl to MQCI_NEW_SESSION
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.