Posted: Wed Jan 10, 2007 5:55 am Post subject: CICS halts in reading messages from a queue
Newbie
Joined: 10 Feb 2006 Posts: 7
The CICS who is responsible for reading the messages from the queue's, sometimes stops reading messages from one queue without any apparent reason. All the other queue's aren still being read by the CICS. A restart of the CICS solves the problem.
I hope the above makes sence as I am no expert on CICS. Those who are more knowledgable then me are looking into the issue but in the past we were never able to find any clues in the logfile which might tell us what goes wrong. Has anyone ever encountered this problem?
Current version of WMQ on OS/390 is 5.3 and version number of CICS Transaction Server is 2.3.0.
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
Accepting there's nothing in the logs (and I'm assuming you mean CICS logs as well as queue manager logs) does the stopped transaction report any MQ reason codes? _________________ Honesty is the best policy.
Insanity is the best defence.
Is trigger FIRST on the queue? Then CICS tran abend and rollback of the message. Triggering would stop and backout count (on msg header) on the message would increment.
or
Is the CICS transaction still in the active task list waiting on a resource? A "CEMT I TASK" would tell you that.
Presumably this is a triggered transaction via an MQ PROCESS definition.
It could be the case that it doesn't have exclusive access to the queue. For example, if something else has the queue open for input and is browsing the messages, triggering will not work and messages will stack up on the queue.
It turns out the problem is situated int eh wya the Queue is being read. This was done in batch but has been changed to one for one. This cause the 2042 reason code (object in use) sometimes which stopped the queue from being read.
Don't know the all the technical detail behind it. But thanks for your help in the matter.
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