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 » Multiphase Commit » Logging Solution

Post new topic  Reply to topic
 Logging Solution « View previous topic :: View next topic » 
Author Message
paulfraser
PostPosted: Tue Feb 19, 2008 2:22 am    Post subject: Logging Solution Reply with quote

Newbie

Joined: 19 Feb 2008
Posts: 5

Hi, need some help in implementing a logging mechanism that will not be rolled back so basically is out of the commit scope. We hope to use MQ to do such a thing.

Thought to write a F/F message (the whole message), to a Log Queue at times during the commit scope but need to make sure that the message does not get rolled back.

Is there a way in MQ to tell MQ whatever happens to not roll back this particular message?

Thanks in advance.

P.s. Using CICS and Mainframe Batch. Would rather not write files; would prefer an MQ solution.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 19, 2008 2:35 am    Post subject: Re: Logging Solution Reply with quote

Grand High Poobah

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

paulfraser wrote:
Is there a way in MQ to tell MQ whatever happens to not roll back this particular message?


Put that particular message to the "logging" queue outside syncpoint.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
paulfraser
PostPosted: Tue Feb 19, 2008 2:57 am    Post subject: Reply with quote

Newbie

Joined: 19 Feb 2008
Posts: 5

Sorry I'm more of a "user" re MQ so how do you do that?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Feb 19, 2008 3:18 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

paulfraser wrote:
Sorry I'm more of a "user" re MQ so how do you do that?

Talk to your application programmer. He/She should know how to do this. If not refer them to the programming manual.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
paulfraser
PostPosted: Tue Feb 19, 2008 3:49 am    Post subject: Reply with quote

Newbie

Joined: 19 Feb 2008
Posts: 5

Well you have come to the root of the problem. They generally provide little or no support hence I'm having to ask outside of my organisation. Any further information?
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Feb 19, 2008 3:53 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

If you MQGET or MQPUT with the MQGMO/MQPMO option of SYNCPOINT, then the operation is part of the unit of work.

If you MQGET or MQPUT without the MQGMO/MQPMO option of SYNCPOINT, then the operation is not part of the unit of work.
Back to top
View user's profile Send private message
paulfraser
PostPosted: Tue Feb 19, 2008 3:58 am    Post subject: Reply with quote

Newbie

Joined: 19 Feb 2008
Posts: 5

Ok, that sounds like what I need to do - thank you. Also trawled the other forums and found this command:

MQGMO-MARK-SKIP-BACKOUT

Is this easier/safer/better or similar?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Feb 19, 2008 4:00 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

paulfraser wrote:
Ok, that sounds like what I need to do - thank you. Also trawled the other forums and found this command:

MQGMO-MARK-SKIP-BACKOUT

Is this easier/safer/better or similar?


Different purpose. Wouldn't go there. Stick with zpat's advice.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
paulfraser
PostPosted: Tue Feb 19, 2008 4:05 am    Post subject: Reply with quote

Newbie

Joined: 19 Feb 2008
Posts: 5

Thx. Will now contact the MQ Support guys with this information and I'll see how far it gets me
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 » Multiphase Commit » Logging Solution
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.