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 » Mainframe, CICS, TXSeries » Rollback MQ GET doesn't work?!

Post new topic  Reply to topic
 Rollback MQ GET doesn't work?! « View previous topic :: View next topic » 
Author Message
Mismatch
PostPosted: Mon Apr 07, 2014 9:47 am    Post subject: Rollback MQ GET doesn't work?! Reply with quote

Newbie

Joined: 07 Apr 2014
Posts: 1

I'm trying to rollback a MQ get within CICS cobol program

Within CICS program i do:
- MQCONN
- MQOPEN
- MQGET (with option MQGMO_SYNCPOINT)

after getting the message I do

- EXEC CICS SYNCPOINT ROLLBACK END-EXEC
- EXEC CICS RETURN END-EXEC

But the message is gone from the Queue?
Back to top
View user's profile Send private message
MQsysprog
PostPosted: Mon Apr 07, 2014 11:30 pm    Post subject: Reply with quote

Centurion

Joined: 24 Feb 2014
Posts: 116

I would consider the message as persistent, and the backoutcount
field on the MQMD ...
The exec cics syncpoint rollback, does the job also on the mq side so the message in a normal behaviour rematerialezes on the queue ...
Back to top
View user's profile Send private message
fatherjack
PostPosted: Tue Apr 08, 2014 6:35 am    Post subject: Re: Rollback MQ GET doesn't work?! Reply with quote

Knight

Joined: 14 Apr 2010
Posts: 522
Location: Craggy Island

bruce2359 wrote:
EXEC CICS SYNCPOINT commits or backs out CICS resources.


What do you mean by a CICS resource? E.g. a CICS TSQ? Or does it include a DB2 table that a CICS transaction has updated? Or a WMQ queue that a CICS transaction got a message from?

bruce2359 wrote:
Use native z/OS RRS services to coordinate UofWs that involve multiple resource managers.


Please explain why. I thought CICS could manage multiple resources including DB2 and WMQ.


Mismatch wrote:
I'm trying to rollback a MQ get within CICS cobol program

Within CICS program i do:
- MQCONN
- MQOPEN
- MQGET (with option MQGMO_SYNCPOINT)

after getting the message I do

- EXEC CICS SYNCPOINT ROLLBACK END-EXEC
- EXEC CICS RETURN END-EXEC

But the message is gone from the Queue?


If you are sure your code is correct then maybe the message has just expired.
_________________
Never let the facts get in the way of a good theory.
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 » Mainframe, CICS, TXSeries » Rollback MQ GET doesn't work?!
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.