|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
|
|
MQ to CICS Bridge Interface!! |
« View previous topic :: View next topic » |
Author |
Message
|
machadi |
Posted: Thu Jul 29, 2004 6:39 am Post subject: MQ to CICS Bridge Interface!! |
|
|
Newbie
Joined: 29 Jul 2004 Posts: 3
|
Hi,
I would like explore whether we can use CICS bridge to send a msg to UNIX machine and wait for reply (syncronous msg)?
If it is possible, can any one help me to get more info.
Thanks in advance.
Last edited by machadi on Thu Jul 29, 2004 7:05 am; edited 1 time in total |
|
Back to top |
|
|
zpat |
Posted: Thu Jul 29, 2004 6:45 am Post subject: |
|
|
Jedi Council
Joined: 19 May 2001 Posts: 5856 Location: UK
|
I understand the CICS bridge is used to invoke standard (DPL) MQ unaware CICS transactions from MQ Series. CICS is a server in this pattern of usage.
For CICS to act as a client (logically speaking) with MQ is entirely possible, but I don't think the CICS bridge could be used.
With CICS as the "client" end, you need to decide if the CICS transaction waits for a response (MQGET with WAIT), or if the response invokes a new transaction (which might use the CICS bridge to start it). |
|
Back to top |
|
|
machadi |
Posted: Thu Jul 29, 2004 6:51 am Post subject: MQ to CICS Bridge Interface |
|
|
Newbie
Joined: 29 Jul 2004 Posts: 3
|
Zpat,
Yes I understand your view. the only issue is i do not much of MQ. Is there any standard IBM routine we can use to send a msg and wait for responce. Once the responce comes it should trigger a COBOL prg like CICS bridge...
is this possible? hope i am not expecting too much |
|
Back to top |
|
|
EddieA |
Posted: Thu Jul 29, 2004 8:57 am Post subject: |
|
|
Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
There is an interface between CICS and MQ that allows a CICS transaction to PUT messages. Then you can set up a trigger to fire off another transaction when the return message arrives.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
|
JT |
Posted: Thu Jul 29, 2004 12:21 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Quote: |
Is there any standard IBM routine we can use to send a msg and wait for responce. |
There should be some sample CICS/MQ programs available in the hlq.scsqxxx libraries on your mainframe (something like: scsqc37s, scsqcobs, scsqasms, scsqsamp). |
|
Back to top |
|
|
zpat |
Posted: Fri Jul 30, 2004 1:02 am Post subject: |
|
|
Jedi Council
Joined: 19 May 2001 Posts: 5856 Location: UK
|
You are mixing up modes here. If the same CICS transaction is waiting for a response (MQGET with WAIT) then the reply does not start a new transaction.
You either have one transaction doing MQPUT then MQGET (WAIT) or two transactions, one does MQPUT and ends, then the reply message starts a second transaction which may or may not need to use MQGET depending how the message data is presented to it.
Which method is best depends on how soon the responses come back - you don't want hundreds of CICS transactions waiting. Make sure you don't code an indefinite wait.
Using MQI calls in CICS transactions is pretty easy, but many sites develop a common subroutine (or wrapper) to avoid the developers having to touch MQI calls themselves. |
|
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
|
|
|
|