|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
CKTI - N MQmessages => N transactions CICS ?? |
« View previous topic :: View next topic » |
Author |
Message
|
derf |
Posted: Tue Aug 22, 2006 2:42 am Post subject: CKTI - N MQmessages => N transactions CICS ?? |
|
|
 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 |
|
 |
Vitor |
Posted: Tue Aug 22, 2006 2:54 am Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Tue Aug 22, 2006 3:04 am Post subject: Re: CKTI - N MQmessages => N transactions CICS ?? |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
derf |
Posted: Tue Aug 22, 2006 7:51 am Post subject: Re: CKTI - N MQmessages => N transactions CICS ?? |
|
|
 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 |
|
 |
oz1ccg |
Posted: Tue Aug 22, 2006 8:56 am Post subject: |
|
|
 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 |
|
 |
derf |
Posted: Tue Aug 29, 2006 4:40 am Post subject: |
|
|
 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 |
|
 |
Enceder6 |
Posted: Sun Nov 05, 2006 4:51 am Post subject: |
|
|
Newbie
Joined: 04 Nov 2006 Posts: 1
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|