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 » Why is trigger set off ?

Post new topic  Reply to topic
 Why is trigger set off ? « View previous topic :: View next topic » 
Author Message
arju
PostPosted: Sat Jun 21, 2014 5:52 am    Post subject: Why is trigger set off ? Reply with quote

Novice

Joined: 13 Apr 2014
Posts: 22

We are at z/OS 1.13 and MQ 7.0.1.0. We have a cics transaction on a triggered queue which picks up messages on the queue when they arrive on the queue. But when cics has troubles with transaction, the trigger is set to off automatically. We can not understand this behavior.
Any explanation from gurus here?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat Jun 21, 2014 7:06 am    Post subject: Re: Why is trigger set off ? Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

arju wrote:
...when cics has troubles with transaction, the trigger is set to off automatically. We can not understand this behavior.
Any explanation from gurus here?

Has troubles? You mean the transaction abended? Or, something else?

One of the requirements for triggering is that the application executes successfully - that is: it exists, can be loaded, does not abend, etc.. The triggering mechanism is smart enough to realize that a failed app should not be triggered again, and again, and again...
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
arju
PostPosted: Sat Jun 21, 2014 8:04 am    Post subject: Reply with quote

Novice

Joined: 13 Apr 2014
Posts: 22

yes, the cics transaction is disabled.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat Jun 21, 2014 8:09 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

arju wrote:
yes, the cics transaction is disabled.

Did the transaction abnormally terminate (abend)? What abend code?

arju wrote:
the trigger is set to off automatically.

Do you mean that the triggered application queue is set to TRIGTYPE(NONE) or NOTRIGGER? Or, that the transaction is disabled?. Or both.

Please be more technically precise in your posts.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
arju
PostPosted: Sat Jun 21, 2014 8:36 am    Post subject: Reply with quote

Novice

Joined: 13 Apr 2014
Posts: 22

The trigger is set to off when the transaction abends with an internal abend and rollsback.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat Jun 21, 2014 8:40 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

arju wrote:
The trigger is set to off when the transaction abends with an internal abend and rollsback.

WMQ has no OFF trigger setting attribute value. Where do you see OFF?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
arju
PostPosted: Sat Jun 21, 2014 8:46 am    Post subject: Reply with quote

Novice

Joined: 13 Apr 2014
Posts: 22

It is set to N. And trigger is defined as First.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat Jun 21, 2014 9:48 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

arju wrote:
It is set to N. And trigger is defined as First.

Ah. You are using the ISPF panel interface to display queue attributes and values.

Y/N are the possible values: N=no, Y=yes. N=notrigger, Y=trigger. No OFF value.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
arju
PostPosted: Sun Jun 22, 2014 3:31 am    Post subject: Reply with quote

Novice

Joined: 13 Apr 2014
Posts: 22

Thanks for your patience. Somehow the trigger is set to n and we have to set it to y on every monday.. then the consumer consumes everything on the queue.
But we would like to know who turns the trigger from y to n. Is it qmgr? Is it cics?
We think CICS is only an application for QMGR so it has no business to change any internal object of the qmgr. It's sole purpose is to get the messages from the queue and in case of failure, depending on failure either to commit or rollback. As CICS is doing a normal two phase commit here.
Please help us the solve the mystery !!
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Jun 22, 2014 5:54 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

This only occurs on Mondays? What else occurs in the same timeframe? Perhaps some batch job? WMQ has no 'if it's Monday, then ...' capability; but your automation software likely does.

What other useful information can you provide us?

Is this a new problem? If so, what else has recently been changed? Programs recompiled? New batch jobs?

Look at the 'last altered' date on the triggered queue to find out exactly when triggering was set to notrigger. Look at syslog to see what else was running.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Jun 22, 2014 6:27 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

arju wrote:
We think CICS is only an application for QMGR so it has no business to change any internal object of the qmgr. It's sole purpose is to get the messages from the queue and in case of failure, depending on failure either to commit or rollback. As CICS is doing a normal two phase commit here.

CICS is far more than 'only an application for QMGR'. CICS is a transaction-manager capable of managing the execution of thousands of concurrent transactions.

You need to contact (work with) your CICS systems programmer to identify the real source of your problem. Much depends on exactly and precisely how your consumer is triggered, what options have been set for your consumer CICS transaction, what automation might be involved, and so on.

Apparently, more than just 'a normal two-phase commit' is taking place; and you (and your sysprog) need to identify the root cause.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Jun 22, 2014 8:54 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

arju wrote:
The trigger is set to off when the transaction abends with an internal abend and rollsback.

Be a bit more precise, please.

What do you mean by 'internal abend?' Is the application written to terminate itself? If so, how does it do so?

What abend code or abend message does the application encounter?

Does the transaction abend with a Unnn abend code - like U123? An Snnn abend code - like a S0c7? Or something else?

Is the abend code found in the CICS Messages and Codes manual? Or user documentation?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Jul 21, 2014 6:55 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

Any progress on this issue?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » Why is trigger set off ?
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.