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 » Transaction cics abend after trigger mq

Post new topic  Reply to topic
 Transaction cics abend after trigger mq « View previous topic :: View next topic » 
Author Message
giuly020277
PostPosted: Thu Feb 07, 2008 3:43 am    Post subject: Transaction cics abend after trigger mq Reply with quote

Centurion

Joined: 07 Aug 2007
Posts: 146
Location: Florence,Italy

Hello,
i need again your suggests

i have mq on zos (version 6.0).
when i receive a message on queue (called PIPPO) from sun solaris platform... trigger (type first) let run a transaction cics (called TMAT) who update db2 and dl1 database.

The question is :

If transaction tmat while running get an abend (for example abend dhtj because dbctl is not running in that moment) message should come back into my queue PIPPO?
The commit is when program close my queue is right?so...if program take abend after closing the queue...i loose messages....?
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Thu Feb 07, 2008 4:52 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

first of all it depends if you MQGET the message with or without syncpoint. if done without syncpoint and MQGET returns with RC=0 your messages is removed from the queue, no matter whether you comit, backout or abend later.

if you get with syncpoint, then the message is gone, when you either use exec cics syncpoint or end your transaction "normal"

exec cics rollback or transaction abends will result in backout of the message (when using syncpoint with MQGET).

you must not use MQCMIT - see also application programmers reference:

CICS applications must use the EXEC CICS SYNCPOINT command to commit the unit of work explicitly. Alternatively, ending the transaction results in an implicit commit of the unit of work. The MQCMIT call cannot be used for CICS applications.

an MQCLOSE will not commit.
_________________
Regards, Butcher
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 » Transaction cics abend after trigger mq
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.