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 » Looking for code samples on how to use Syncpoints

Post new topic  Reply to topic
 Looking for code samples on how to use Syncpoints « View previous topic :: View next topic » 
Author Message
JoeShcmoe115
PostPosted: Tue Aug 10, 2010 6:04 am    Post subject: Looking for code samples on how to use Syncpoints Reply with quote

Novice

Joined: 10 Aug 2010
Posts: 11

I develop in C# using MQ v.7 native API.

I would like to use syncpoints to guarantee data consistency but can't find much documentation on the topic. All I found so far is an article to which I can't post link yet (need more than one post).


I will be using local units of work. OS is Windows.

Can anyone share some links or code snippets on using Commit() and Backout() in C#?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 10, 2010 6:13 am    Post subject: Re: Looking for code samples on how to use Syncpoints Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

JoeShcmoe115 wrote:
Can anyone share some links or code snippets on using Commit() and Backout() in C#?


There's a link at the top of this page, and samples included with the product. If they've not been installed on your site speak to your admin.

There's also full documentation on Uow options in the product InfoCenter.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
JoeShcmoe115
PostPosted: Tue Aug 10, 2010 6:42 am    Post subject: Re: Looking for code samples on how to use Syncpoints Reply with quote

Novice

Joined: 10 Aug 2010
Posts: 11

Vitor wrote:
JoeShcmoe115 wrote:
Can anyone share some links or code snippets on using Commit() and Backout() in C#?


There's a link at the top of this page, and samples included with the product. If they've not been installed on your site speak to your admin.

There's also full documentation on Uow options in the product InfoCenter.


"Sample code" link on the top of the page doesn't work.

I checked samples supplied with MQ 7 trial (C:\Program Files\IBM\WebSphere MQ\tools\dotnet) before I posted and there is no samples related to UOW

As for Infocenter - I did find this:
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0m0/topic/com.ibm.mq.csqzal.doc/fg13620_.htm, however it doesn't have code samples.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 10, 2010 7:12 am    Post subject: Re: Looking for code samples on how to use Syncpoints Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

JoeShcmoe115 wrote:
"Sample code" link on the top of the page doesn't work.


So it doesn't

The Capitalware site does (or did) have samples.

JoeShcmoe115 wrote:
I checked samples supplied with MQ 7 trial (C:\Program Files\IBM\WebSphere MQ\tools\dotnet) before I posted and there is no samples related to UOW


Really? There are samples in other languages that do.

JoeShcmoe115 wrote:
As for Infocenter - I did find this:
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0m0/topic/com.ibm.mq.csqzal.doc/fg13620_.htm, however it doesn't have code samples.


No, but it does have the documentation you said you couldn't find.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Looking for code samples on how to use Syncpoints
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.