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 » CKTI - N MQmessages => N transactions CICS ??

Post new topic  Reply to topic
 CKTI - N MQmessages => N transactions CICS ?? « View previous topic :: View next topic » 
Author Message
derf
PostPosted: Tue Aug 22, 2006 2:42 am    Post subject: CKTI - N MQmessages => N transactions CICS ?? Reply with quote

Newbie

Joined: 22 Aug 2006
Posts: 3
Location: Bordeaux,FRANCE

Hello,

Previous, I work with a trigger "first" that loop on one queue.

For each message that arrives in the queue, one transaction starts but many transaction mount under CICS region. I don't understand why ?? Only one must be in machine and many contentions result ??

Thanks for your help.

Fred
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 22, 2006 2:54 am    Post subject: Reply with quote

Grand High Poobah

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

You're certain no-one has set it the trigger to "EVERY" without your knowledge?

(Just eliminating the obvious.....)
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 22, 2006 3:04 am    Post subject: Re: CKTI - N MQmessages => N transactions CICS ?? Reply with quote

Grand High Poobah

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

derf wrote:
Hello,

Previous, I work with a trigger "first" that loop on one queue.

For each message that arrives in the queue, one transaction starts but many transaction mount under CICS region. I don't understand why ?? Only one must be in machine and many contentions result ??

Thanks for your help.

Fred

To satisfy that requirement have your transaction "T classed". This means setting a restriction in CICS allowing only one instance of the transaction at any time in the system. Then it won't matter whether the trigger is af first or every....

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
derf
PostPosted: Tue Aug 22, 2006 7:51 am    Post subject: Re: CKTI - N MQmessages => N transactions CICS ?? Reply with quote

Newbie

Joined: 22 Aug 2006
Posts: 3
Location: Bordeaux,FRANCE

Thanks,

Tclassed transaction param seems to work (TRANClass) but i don't understand why many transactions mount in my CICS Region when N messages are in target Queue and I active my trigger.

For each message read in the target queue, i take an EXEC CICS SYNCPOINT END-EXEC. Is it possible that for each SYNCPOINT, a new Transaction mount Under CICS (Via CKTI) ??

Thanks for your precious help again.

Regards

Fred
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Tue Aug 22, 2006 8:56 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

Fred,

How is the applcation designed ??

I hope it's like this:

Code:
Retrieve MQTM (CICS Commarea)
Getmain Storage
MQOPEN
"LOOP"
    MQGET (on 20 sec MQ Wait Interval)
    "DO the job-code"
    MQPUT1 (to ReplyToQueue/ReplyToQmgr)
    SYNCPOINT or "Rollback"
"ENDLOOP"
MQCLOSE
CICS Return



Because if your program just graps one message and closes the queue, CKTI will immed. issue a new START TRANS(xxxx) if there are still messages in the queue and Open Input Count=0.

I wrote a little article about the case http://www.mrmq.dk/CICStrouble.htm
I hope this can help you too.

-- Lock it or Lose it --
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
derf
PostPosted: Tue Aug 29, 2006 4:40 am    Post subject: Reply with quote

Newbie

Joined: 22 Aug 2006
Posts: 3
Location: Bordeaux,FRANCE

The transaction realised an open/close for each GET or PUT and for each close CKTI triggered a new task under CICS. That was the reason why many transaction came up in my CICS.

With new cinematic transaction (OPEN - LOOP(GET or PUT) - CLOSE) and Tclass CICS, I have no 2042 and always only one transaction-task run under my CICS.

Thanks to the champions.

Fred/
Back to top
View user's profile Send private message
Enceder6
PostPosted: Sun Nov 05, 2006 4:51 am    Post subject: Reply with quote

Newbie

Joined: 04 Nov 2006
Posts: 1

http://bestdanitykane.info/movies/41505
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 » CKTI - N MQmessages => N transactions CICS ??
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.