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 to set MsdId and CorelationID for a particular message

Post new topic  Reply to topic
 How to set MsdId and CorelationID for a particular message « View previous topic :: View next topic » 
Author Message
ManishsAmit
PostPosted: Wed Sep 24, 2003 11:01 pm    Post subject: How to set MsdId and CorelationID for a particular message Reply with quote

Newbie

Joined: 24 Sep 2003
Posts: 8
Location: India(Mumbai)

I wanted to know how should i set MSGID and CorelationID for a particular message which I will send to MQSeries server and how to retrieve the same (MSGID and Corelation ID) response from the server using GET program.

We are using VB programs and the server is MQ AS/400.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Thu Sep 25, 2003 6:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You create a message object, and set the Message ID and Correlation ID properties of that object, and set the data of the object, and pass that object to the MQPut command.

You get back a message object from the MQGet command, and ask it for the Message ID and Correlation ID properties. Or you create a message object, set the Message ID and Correlation ID properties on it, set the GetMessageOptions to search for message ID or Correlation ID, and give the message object to the MQGet command.

This is, no pun intended, basic stuff. It's the same concepts with VB as it is with any other MQ application. There's a manual on working with VisualBasic. I think the title has 'COM' in the name. Check the MQSeries Library.
_________________
I am *not* the model of the modern major general.
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 to set MsdId and CorelationID for a particular message
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.