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 » MQ to CICS Bridge Interface!!

Post new topic  Reply to topic
 MQ to CICS Bridge Interface!! « View previous topic :: View next topic » 
Author Message
machadi
PostPosted: Thu Jul 29, 2004 6:39 am    Post subject: MQ to CICS Bridge Interface!! Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Thu Jul 29, 2004 6:45 am    Post subject: Reply with quote

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
View user's profile Send private message
machadi
PostPosted: Thu Jul 29, 2004 6:51 am    Post subject: MQ to CICS Bridge Interface Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Thu Jul 29, 2004 8:57 am    Post subject: Reply with quote

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
View user's profile Send private message
JT
PostPosted: Thu Jul 29, 2004 12:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Fri Jul 30, 2004 1:02 am    Post subject: Reply with quote

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
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 » MQ to CICS Bridge Interface!!
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.