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 » IBM MQ API Support » correlId/MsgId in C

Post new topic  Reply to topic
 correlId/MsgId in C « View previous topic :: View next topic » 
Author Message
vmcgloin
PostPosted: Wed Jul 03, 2002 12:36 am    Post subject: correlId/MsgId in C Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

Hi,

Does anyone have a C program equivalent to the following c++ program that they'd be kind enough to post the guts of here? Or a pointer to a sample elsewhere. (There don't seem to be any with MQ.)
mqreq.cpp
>>C++ requestor program that manipulates message and correlation IDs

The problem may actually be with the C not MQ, but how can we copy the msgId of a PUT message into the CorrelId for a GET of a reply?
I don't have the code that is failing but the developer has asked me to find a sample since when he displays the correlId he wants to get it is different from the MsgId he previously displayed.

Thanks,
Vicky
Back to top
View user's profile Send private message
jhalstead
PostPosted: Wed Jul 03, 2002 2:16 am    Post subject: Reply with quote

Master

Joined: 16 Aug 2001
Posts: 258
Location: London

I've always found that dong a memcpy covers this! Can you be a bit clearer about the problem?

Thanks

Jamie
Back to top
View user's profile Send private message Send e-mail
vmcgloin
PostPosted: Wed Jul 03, 2002 2:36 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

This has been solved. Thanks.
(Wrong use of memcpy by COBOL programmer on C project.)
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 » IBM MQ API Support » correlId/MsgId in C
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.