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 » Correlation ID

Post new topic  Reply to topic
 Correlation ID « View previous topic :: View next topic » 
Author Message
carolhara
PostPosted: Tue Feb 03, 2009 10:03 am    Post subject: Correlation ID Reply with quote

Acolyte

Joined: 02 Oct 2007
Posts: 56

Hello there!

My question is: when does an application get the correlation ID - on the MQput of a message or on its commit/syncpoint?

Thankss
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Feb 03, 2009 10:13 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The MQMD field is an INOUT parameter of MQPUT.

If you have indicated that you want the qmgr to generate a correlation ID when you do a PUT, then the MQMD that you pass in will be updated.
Back to top
View user's profile Send private message
carolhara
PostPosted: Tue Feb 03, 2009 10:55 am    Post subject: Reply with quote

Acolyte

Joined: 02 Oct 2007
Posts: 56

Does the CorrelID guarantee that a message was put into a queue?
Thanks.
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Feb 03, 2009 11:08 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The MQRC from the MQPUT assures you that MQ has accepted the message.

The MQRC from MQCOMMIT assures you that any global units of work have been completed successfully.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Feb 03, 2009 12:17 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Like MsgId, CorrelId is an MQMD field. MQMD is the message descriptor that accompanies your application data when MQPUT to a queue or MQGET from a queue.

The MQMD fields contain information about your application data (like format, CCSID, encoding. Refer to the WMQ Application Programming Reference and WMQ Application Programming Guide.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » 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.