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 Discussion » Correlation Id

Post new topic  Reply to topic
 Correlation Id « View previous topic :: View next topic » 
Author Message
asinus
PostPosted: Tue Aug 10, 2004 6:48 am    Post subject: Correlation Id Reply with quote

Newbie

Joined: 10 Aug 2004
Posts: 2

Hi,

I am new to MQ series.
I have requirement that one transaction will put the messages in the queue and some other transaction will GET the message from the queue and process it.

To map the requests and there replys, I need Correlation Id to be stored in DB2 tables.

After MQPUT, I need to store Correlation Id. But when I am moving it my local variable, it is always showing blanks.

Please suggest what I should do and where I am going wrong.

Also please tell me the difference between MSGID and CORREL_ID.
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Aug 10, 2004 6:59 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

How are you moving the id's? You need to use memcpy's instead of strcpy's because they may have 0's in them. Have you looked at them to see if they are actually filled in? You can use the amqsbcg program to browse the messages.

The message id and correlation id can be used for whatever you want. There are discussions in the application programming guide and reference about potential uses. The biggest use is probably to send a request over with a specific message id. The server program fulfills the request and moves the message id into the correlation id for the reply.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
asinus
PostPosted: Tue Aug 10, 2004 7:56 am    Post subject: correlation id Reply with quote

Newbie

Joined: 10 Aug 2004
Posts: 2

Hi,

thanks for reply

I tried displaying the mq copybook correlation id itself.. it is also showing blanks.

In Options for MQPUT, I tried putting NEW_CORREL_ID but it gave me 2046 - Options error.

I am doing CORREL_ID = NONE before MQPUT. Is it the mistake I am doing.
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 Discussion » Correlation Id
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.