|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
CICS and WMQ |
« View previous topic :: View next topic » |
Author |
Message
|
bay hoe san |
Posted: Thu Jul 26, 2007 5:00 pm Post subject: CICS and WMQ |
|
|
Centurion
Joined: 27 Nov 2006 Posts: 117
|
Hello,
( 1) I have the followings:
1. MQB1 (V5.3.1) running on z/OS V1R7 with many initq, 1 example of particular interest TDS1E068.INITQ.
Another qmgr MQB6 (V5.3.1) also running on the same machine as MQB1 with many initq, 1 example of particular interest is TDS1E068.INITQ.
2. In MQB1, Qlocal : AAST.QLOCAL with Process : AAST.PROCESS with applid = ZZZZ and INITQ : TDS1E068.INITQ
2. I have a CICS (V 2.3) region, say TDS1E068 in which it is connected to MQB6 via the CICS SIT tables and INITPARM=TDS1E068.INITQ.
3. Front-end appl running on AIX with MQ V6 with sender and receiver to MQB1. A Qremote is being defined with remote name AAST.QLOCAL, remote qmgr MQB1.
( 2) My client' queries:
1. AIX server send a msg to qremote which will end up in MQB1 QLocal AAST.QLOCAL since there is only sender and receiver channels from AIX to MQB1 and no channel between AIX and MQB6.
2. Will CICS txn ZZZZ trigger in TDS1E068?
( 3) I would think the txn ZZZZ not trigger in TDS1E068 as msg is residing in MQB1 and only MQB6 is being attached to TDS1E068.
Am I correct in my explanation to my client?
( 4) Pls advise.
( 5) Appreciate and thank you.
.Hoe San. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Thu Jul 26, 2007 9:51 pm Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
let me summarize:
MQB1
QLOCAL(AAST.QLOCAL) triggered via INITQ(TDS1E068.INITQ)
MQB6
QREMOTE(AAST.QLOCAL) RQMNAME(MQB1) RQNAME(AAST.QLOCAL)
INITQ(TDS1E068.INITQ) -> used by CICS
i do not understand your point 2.1 exactly. on the one hand you say aix is putting to the remote queue (which means that aix puts to mqb6), on the other hand you say there is no channel between aix and mqb6.
so this is not clear to my.
anyway, it does not affect your triggering.
no matter if the application puts directly to mqb1 qlocal, or if the message hits mqb1 qlocal vie the mqseries connection from mqb6, your transaction will not be triggered. so your assumption (3) is correct.
your "please advise" - what are you trying to archive? either connect a (different) cics and trigger on mqb1, or route your messages to mqb6 and trigger with your current cics connection. _________________ Regards, Butcher |
|
Back to top |
|
 |
bay hoe san |
Posted: Fri Jul 27, 2007 1:09 am Post subject: |
|
|
Centurion
Joined: 27 Nov 2006 Posts: 117
|
Hello Mr. Butcher,
( 1) Apologize if my scenario is not clear. Let me try again after I talked to my client again.
( 2) MQB1 @z/OS V1R7
QLocal: AAST.QLOCAL with parameters settings Process: AAST.PROCESS & Applid: ZZZZ
QLocal: TDS1E068.INITQ
Sender and Receiver channels to AIX server
MQB6 @z/OS V1R7
QLocal: AAST.QLOCAL with parameters settings Process: AAST.PROCESS & Applid: ZZZZ
QLocal: TDS1E068.INITQ
Sender and Reeiver channels to AIX server
AIX server
Qremote: AAST.QREMOTE with Remote name: AAST.QLOCAL, Remote QMgr: MQB1
Sender channel to MQB1 : AIX.MQB1.T1
Receiver channelfrom MQB6 : MQB1.AIX.T1
Sender channel to MQB6 : AIX.MQB6.T1
Receiver channel from MQB6 : MQB6.AIX.T1
CICS
Address space: TDS1E068 with initparm=(CSQCPARM='SN=MQB6,TN=001,TDS1E068.INITQ')
Meaning that TDS1E068 is connected to MQB6.
( 3) If AIX send msg to MQB1 using sender channel AIX.MQB1.T1 and qremote AAST.QREMOTE.
My client' queries:
1. Will CICS txn ZZZZ trigger in TDS1E068?
If not, which queue and qmgr will the msg be located?
2. Can 1 CICS be connected to more than 1 qmgr?
3. With this current setup or constraint, is there way we can
get the CICS txn ZZZZ to be triggered in TDS1E068?
Thank you.
.Hoe San. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jul 27, 2007 1:16 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bay hoe san wrote: |
My client' queries:
1. Will CICS txn ZZZZ trigger in TDS1E068?
If not, which queue and qmgr will the msg be located?
2. Can 1 CICS be connected to more than 1 qmgr?
3. With this current setup or constraint, is there way we can
get the CICS txn ZZZZ to be triggered in TDS1E068?
|
(1) If I'm reading this correctly, the message is placed on the remote q which names MQB1 as the target queue manager. So the message will go to AAST.QLOCAL on MQB1 where it will cause a trigger event & process if the conditions are met. This won't run in TDS1E068 which is connected to MQB6.
(2) CICS <-> QMGR is a 1-to-1 relationship
(3) Yes. Send the message to MQB6 and fire the trigger there. Why are you trying to trigger a message on a different queue manager? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bay hoe san |
Posted: Fri Jul 27, 2007 1:47 am Post subject: |
|
|
Centurion
Joined: 27 Nov 2006 Posts: 117
|
Hello Vitor,
1. Assuming no CICS connected to MQB1, where will the msg be contained
in MQB1, is it AAST.QLOCAL or TDS1E068.INITQ or ...?
2. Will trigger msg still be send in MQB1? Will there be any error displayed in MQB1 started task?
3. Say if there is NO definition of sender and receiver channels @AIX server to MQB6.
Is there way we can get the CICS txn ZZZZ in TDS1E068 to be triggered?
Thanks.
.Hoe San. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jul 27, 2007 2:16 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bay hoe san wrote: |
1. Assuming no CICS connected to MQB1, where will the msg be contained
in MQB1, is it AAST.QLOCAL or TDS1E068.INITQ or ...? |
I've already said the message will go to AAST.QLOCAL in MQB1. The connection to a CICS system (or not) is irrelevant to message routing.
bay hoe san wrote: |
2. Will trigger msg still be send in MQB1? Will there be any error displayed in MQB1 started task? |
Yes - where else would it go? Where the error would be displayed or if a trigger event would be raised depends on how your set up is defined. Not sure how the system would react to a CICS START in the absence of a defined CICS environment; someone with more recent CICS experience will be along in a minute. It may just issue the START and walk away, ignoring the fact there's nothing to talk to.
bay hoe san wrote: |
3. Say if there is NO definition of sender and receiver channels @AIX server to MQB6.
Is there way we can get the CICS txn ZZZZ in TDS1E068 to be triggered?
|
Your previous post refered to channels AIX.MQB6.T1 & MQB6.AIX.T1 which you describes as channels linking the AIX server and MQB6. How does this square with your comment that there is no definition?
To get a trigger event on that queue manager, the message must be sent to that queue manager. If there's no direct link for whatever reason you'll need to multi-hop via MQB1 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jul 27, 2007 12:01 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Vitor wrote: |
bay hoe san wrote: |
2. Will trigger msg still be send in MQB1? Will there be any error displayed in MQB1 started task? |
Yes - where else would it go? Where the error would be displayed or if a trigger event would be raised depends on how your set up is defined. Not sure how the system would react to a CICS START in the absence of a defined CICS environment; someone with more recent CICS experience will be along in a minute. It may just issue the START and walk away, ignoring the fact there's nothing to talk to. |
The conditions for a trigger would not be met and the message would just be sitting on the queue.
The conditions for a trigger require a trigger monitor to be running. Obviously if CICS is down this trigger monitor is not running either...(started task in CICS)...
The message should trigger when CICS and the trigger monitor are started. _________________ MQ & Broker admin |
|
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
|
|
|
|