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 » CICS transaction is not triggering Please Help

Post new topic  Reply to topic
 CICS transaction is not triggering Please Help « View previous topic :: View next topic » 
Author Message
rakshi
PostPosted: Wed Feb 26, 2003 12:05 am    Post subject: CICS transaction is not triggering Please Help Reply with quote

Newbie

Joined: 13 Feb 2003
Posts: 8

We have a Java program (running in NT) interacting with a mainframe system. MQSeries sits on the mainframe side. When a message arrives on the MQSeries (from java) we want to trigger a mainframe CICS transaction which will get the message and continue the processing. We are unable to trigger the CICS transaction. The CKTI instance for the initiation queue is running. The message does not get or put in either the intitiation or dead letter queue. Would appreciate any help or inputs on triggering on the mainframe side.

Thanks in advance
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Wed Feb 26, 2003 6:22 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

Hi,

first do you actually put the message to the target queue ?
second is triggering conditions meet ?

Normally we want to see the local queue definition, process definition.

What is the open input count on both Initation queue, and on your local queue, including queue depth ?

Just my $0.02
_________________
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
rakshi
PostPosted: Wed Feb 26, 2003 9:39 pm    Post subject: Reply with quote

Newbie

Joined: 13 Feb 2003
Posts: 8

The following are the properties of the triggering queue, initiation queue, process definition and CKTI instance.

This is my Triggerring Queue attributes
Default persistence . . . . : N Y=Yes,N=No
Default priority . . . . . : 0 0 - 9
Message delivery sequence . : P P=Priority,F=FIFO
Permit shared access . . . : Y Y=Yes,N=No
Default share option . . . : S E=Exclusive,S=Shared
Index type . . . . . . . . : N N=None,M=MsgId,C=CorrelId,T=MsgToken
Maximum queue depth . . . . : 999999999 0 - 999999999
Maximum message length . . : 4194304 0 - 104857600
Retention interval . . . . : 999999999 0 - 999999999 hours

Cluster name . . . . . . . :
Cluster namelist name . . . :
Default bind . . . . . . . : O O=Open,N=Notfixed

Trigger Definition

Trigger type . . . . . . . : F F=First,E=Every,D=Depth,N=None

Trigger set . . . . . . : Y Y=Yes,N=No
Trigger message priority : 0 0 - 9
Trigger depth . . . . . : 1 1 - 999999999
Trigger data . . . . . . :

Process name . . . . . . : ATGPROCESS
Initiation queue . . . . : ATGLQUEUE


This is the intitation Queue Properties - ATGLQUEUE

Trigger Definition

Trigger type . . . . . . . : F F=First,E=Every,D=Depth,N=Non

Trigger set . . . . . . : Y Y=Yes,N=No
Trigger message priority : 0 0 - 9
Trigger depth . . . . . : 1 1 - 999999999
Trigger data . . . . . . :

Process name . . . . . . : ATGPROCESS
Initiation queue . . . . :


Process :
Process name . . . . . . . . ATGPROCESS
Description . . . . . . . . :


Application type . . . . . : CICS
Application ID . . . . . . : ATG2
User data . . . . . . . . . :



Environment data . . . . . :

CKTI instance

CKQCM4 Display CKTI panel

Read CKTI status information. Then press F12 to cancel.

CKTI 1 to 2 of 2

Task No. Task Status Thread Status No-of-APIs Last API
---------- ------------- --------------- ------------ ----------
0001867 Normal Msg Wait 9 MQGET
Initiation Queue Name: ATGLQUEUE

0000024 Normal Msg Wait 2 MQGET
Initiation Queue Name: C001.INITQ


Thanks in advance. Please tell me if i am not clear.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Wed Feb 26, 2003 9:54 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hang on here a second, I haven't played with CICS in all most 2 years, but the Init Queue that CKTI reads from must be the same as the Init Queue specified in the appl queue.

You have 2 choices to fix the problem
1) Configure CKTI to read from ATGLQUEUE or
2) Alter your appl (triggering) queue so that attribute Initiation Queue is C001.INITQ.

Also, does C001.INITQ exist?

later
Roger...
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
rakshi
PostPosted: Wed Feb 26, 2003 10:12 pm    Post subject: Reply with quote

Newbie

Joined: 13 Feb 2003
Posts: 8

ATGLQUEUE is configured as initiation queue in the target queue trigger definition.

Trigger Definition

Trigger type . . . . . . . : F F=First,E=Every,D=Depth,N=None

Trigger set . . . . . . : Y Y=Yes,N=No
Trigger message priority : 0 0 - 9
Trigger depth . . . . . : 1 1 - 999999999
Trigger data . . . . . . :

Process name . . . . . . : ATGPROCESS
Initiation queue . . . . : ATGLQUEUE


C001.INITQ is there for other application.

Thanks in advance.
Back to top
View user's profile Send private message
rakshi
PostPosted: Thu Feb 27, 2003 4:20 am    Post subject: Reply with quote

Newbie

Joined: 13 Feb 2003
Posts: 8

Thanks Roger,
I tried the second method. It is calling the ATG2. But not sucessfully. I am getting ABM3 abend. So how can I specify the terminal specification in the triggering. In the Application ID, I specified the ATG2 as the application to be triggered. Is there any place to specy the terminal name.


Thanks & Regards,
rakshi
Back to top
View user's profile Send private message
rakshi
PostPosted: Sun Mar 02, 2003 9:17 pm    Post subject: Reply with quote

Newbie

Joined: 13 Feb 2003
Posts: 8

This is the ATGLQUEUE display 1

Queue name . . . . . . . . . ATGLQUEUE
Description . . . . . . . . :


Put enabled . . . . . . . . : Y Y=Yes,N=No
Get enabled . . . . . . . . : Y Y=Yes,N=No
Usage . . . . . . . . . . . : N N=Normal,X=XmitQ
Storage class . . . . . . . : DEFAULT
Creation method . . . . . . : PREDEFINED
Output use count . . . . . : 0
Input use count . . . . . . : 0
Current queue depth . . . . : 0


This is the ATGQUEUE display 1

Queue name . . . . . . . . . ATGQUEUE
Description . . . . . . . . :


Put enabled . . . . . . . . : Y Y=Yes,N=No
Get enabled . . . . . . . . : Y Y=Yes,N=No
Usage . . . . . . . . . . . : N N=Normal,X=XmitQ
Storage class . . . . . . . : DEFAULT
Creation method . . . . . . : PREDEFINED
Output use count . . . . . : 0
Input use count . . . . . . : 0
Current queue depth . . . . : 1
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Mon Mar 03, 2003 6:17 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

Hi,

as long as the initiation queue is not open for input(see below), you will not be able to get a trigger.
Quote:
This is the ATGLQUEUE display 1
Queue name . . . . . . . . . ATGLQUEUE
Description . . . . . . . . :

Output use count . . . . . : 0
Input use count . . . . . . : 0


You will have to tell CKTI to read from ATGLQUEUE, this could be done in CSQPARM on the CICS or using cics transaction: CKQC

You can see when CKTI is correctly setup... by displaying ATGLQUEUE, and look on Input use count . . . . . . : which should show 1.

I would recoment following reading:
Application programming guide, chapter: Conditions for a trigger event

Just mt $0.02
_________________
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
rakshi
PostPosted: Tue Mar 04, 2003 7:51 am    Post subject: Reply with quote

Newbie

Joined: 13 Feb 2003
Posts: 8

I started the CKTI instance for ATGLQUEUE. Now the open input count is 1, but it is still not triggering.

Queue name . . . . . . . . . ATGLQUEUE
Description . . . . . . . . :


Put enabled . . . . . . . . : Y Y=Yes,N=No
Get enabled . . . . . . . . : Y Y=Yes,N=No
Usage . . . . . . . . . . . : N N=Normal,X=XmitQ
Storage class . . . . . . . : DEFAULT
Creation method . . . . . . : PREDEFINED
Output use count . . . . . : 0
Input use count . . . . . . : 1
Current queue depth . . . . : 0

Task No. Task Status Thread Status No-of-APIs Last API
--------- ------------- --------------- ------------ ----------
0012742 Normal Msg Wait 2 MQGET
Initiation Queue Name: ATGLQUEUE
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Wed Mar 05, 2003 3:52 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

IS there any data in data queue ?

The reason for asking is: when using TRIGTYPE(FIRST), you will have a trigger when qdepth goes from 0->1 and the queue is NOT open for INPUT. General rule.

MQ will generate an addtional trigger when you put a msg, and qdepth > 1, if the queue is NOT open for INPUT and TRIGINT has expired.

You can force MQ to generate another trigger, by changing the TRIGGER-attributes in EXPLORE or using MQSC.
When you know MQ have generated a trigger msg, take a look on the log of the CKTI-CICS. There might be an failure here.... which result in some message here...

Just my $0.02
_________________
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
rakshi
PostPosted: Wed Mar 05, 2003 8:43 pm    Post subject: Reply with quote

Newbie

Joined: 13 Feb 2003
Posts: 8

Thanks,
Yes I looked at the error log.

Now I am getting the following error log :

DFHAC2236 03/05/03 16:41:31 A06C001 Transaction ATG2 abend ABM3 in program ATGPPR2 term ????. Updates to local out.
recoverable resources will be backed out.

ATG2 transaction is mentioned in this error log. I think the transaction is triggering. but getting ABEND. I checked in the ABM3 Abend reason, it is given as follows:

ABM3

Explanation: A non terminal-oriented transaction issued a Basic Mapping Support (BMS) input or output request.

System Action: CICS abnormally terminates the transaction, and produces a CICS transaction dump.

User Response: The task issuing a BMS input or output request must be attached to a terminal.


CICS program(ATG2) has maps. How can I attach the terminal detail or terminal in the triggering process.

Thanks. Please tell me if I am not clear.
rakshi
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Thu Mar 06, 2003 8:32 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

When you're dealing with BMS applications, I think you should look on the CICS bridge on this topic.

small snip from appl. prog. guide:
Quote:
The CICS bridge can emulate any of the these ways of starting CICS
transactions. It can also emulate a terminal user sending and receiving
screens of data from the transaction. These emulations are achieved by
using CICS bridge vectors, which represent the EXEC CICS command being
emulated and provide any data that is needed. The data needed by a CICS
transaction accompanies inbound messages, and the data needed by a CICS
bridge application accompanies outbound messages.


I hope this can help you.

By the way, it's quite tricky to create a CICS bridge data stream, there are samples in appl. prog. guide.
However my recomandation is clear: IF POSSIBLE LINK TO THE APPL, WITHOUT ANY BMS, it's mutch easier to maintain.

Just my $0.02
_________________
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
rakshi
PostPosted: Tue Mar 25, 2003 8:45 pm    Post subject: You are great!!!!!!!!! Reply with quote

Newbie

Joined: 13 Feb 2003
Posts: 8

Thanks a lot. It is working now.
Back to top
View user's profile Send private message
bvasanth
PostPosted: Mon May 03, 2004 2:12 am    Post subject: Reply with quote

Apprentice

Joined: 03 May 2004
Posts: 27
Location: Chennai, India

Hi All:
I am planning to web-enable a CICS 3270 tran application using Mq-CICS bridge. Client is a java program. The CICS transaction uses BMS and pseudo transaction. We have started CKTI using an INIT queue, and CKBR with request queue. The request queue points to INIT queue as its initiation queue. Now, CKTI and CKBR are running. Our problem is how to format the message that has to be put into request queue. We need guidance on how to determine and design MQ messages for executing CICS transaction, and how to interpret reply messages. (Java client is going to put and get message into MQ)

Thanks,
Vasanth
Back to top
View user's profile Send private message
muthukumaran
PostPosted: Tue Mar 31, 2009 3:05 am    Post subject: Reply with quote

Novice

Joined: 12 Feb 2009
Posts: 22

Hi,

Am trying out CICS MQ triggering. Even am also facing the same problem Rakshi. When i put a value in my Queue through a cobol program, am getting this error abend in my CICS log.

@ oz1ccg, will be great if u explain the CICS bridge part with even more clarity.

@ rakshi, will be helpful if u come with the solution on how you made it.

This is my log message:

DFHAC2236 03/31/2009 14:42:48 CICSA1R1 Transaction SFR2 abend ABM3 in program SFRPROG2 term ????. Updates to local recoverable resources will be backed out.


Thanks..
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 » CICS transaction is not triggering Please Help
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.