Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

MQ: Problem with triggering a transaction

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
visu319

New User


Joined: 30 Jun 2009
Posts: 3
Location: hyderabad

PostPosted: Thu Jul 02, 2009 12:28 pm    Post subject: MQ: Problem with triggering a transaction
Reply with quote

Hi,
We are facing some issue with triggering of CICS transaction when message is put on to a Queue on our Mainframe.

About application: We have some application which can be segregated into Client (Involves only CICS) and Server (one CICS module and rest all is DB2). when tested individually Client application is able to put the message into the static queue. This static Queue is connected with initiation queue which is monitored by CICS. The message entry into static queue should invoke the transaction of Server application. But this is not happening. I even cross checked the Server application even. This is also working fine. But when i execute total as one application server side application is not getting invoked.

Note: we are executing a delay module with an interval of 10 sec and client application will tried to get the message from the dynamic queue, which should be populated by the server application when triggered.


Need your inputs on this.

Thanks in advance,
Visu
Back to top
View user's profile Send private message

Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Thu Jul 02, 2009 8:31 pm    Post subject:
Reply with quote

Examine the local queue to be sure TRIGGER in ON and TRIGTYPE is FIRST.
Back to top
View user's profile Send private message
visu319

New User


Joined: 30 Jun 2009
Posts: 3
Location: hyderabad

PostPosted: Fri Jul 03, 2009 11:05 am    Post subject:
Reply with quote

Hi Bill,
The local queue definition looks fine. The two parameters which u suggested are defined like this.

Trigger type . . . . . . : E F=First, E=Every, D=Depth, N=None
Trigger set . . . . . . : Y Y=Yes, N=No

I am still facing this issue.

Thanks,
Visu
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 992
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Jul 03, 2009 1:26 pm    Post subject:
Reply with quote

Also, check the local queue to see that it references a PROCESS definition which specifies the CICS transaction to be executed.

Garry.
Back to top
View user's profile Send private message
visu319

New User


Joined: 30 Jun 2009
Posts: 3
Location: hyderabad

PostPosted: Fri Jul 03, 2009 4:57 pm    Post subject:
Reply with quote

Garry Carroll wrote:
Also, check the local queue to see that it references a PROCESS definition which specifies the CICS transaction to be executed.

Garry.


Hi Garry,
I checked that Process that is referred on the initiation queue, the definition of the same contains application type as CICS and trans id. I checked with CKBM transaction, the same initiation queue is being monitored by it.

I have one question here. My transaction module that should be triggered contain some code in cobol and only EXEC CICS RETURN statement. There are no SEND or RECEIVE command used.

Please let me know, if there could be any issue with transaction module.

Thanks,
Visu
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 992
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Jul 03, 2009 5:11 pm    Post subject:
Reply with quote

Hi Visu,
Have you checked the program for that transaction using CEMT ? If it's being triggered, you should see its use count increment if it's being executed.
It's surprising that the only EXEC CICS in the code is the RETURN - is m there any EXEC SQL ? How does the CICS application record anything it does?

Garry.
Back to top
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Mon Jul 06, 2009 5:00 pm    Post subject:
Reply with quote

I try following troubleshooting steps in such case:

1. Check if the Msg is landing in the Q. (disable the trigger and do MQBR)
2. Check if the trigger is enabled on the Q.
3. Check if the process definition is right or not. (ie cics set up should be done for that process)
4. Check if the process/transaction is enabled in CICS.
5. Check if the program is enabled or not.
6. Check job log for the CICS transaction if the problem persists.
7. If none works, check with peers / those who know icon_smile.gif


apart from that:

Trigger Type - E isn't really recommended by our middleware admins. They recommend using F and then using the program to read through the end of queue. Anyhow, I am sure you must have a reason for that.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 3 Thu Jan 19, 2017 1:31 am
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us