|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Setting additional info using MQ/CICS Bridge |
« View previous topic :: View next topic » |
Author |
Message
|
lmutter |
Posted: Wed May 22, 2002 10:22 am Post subject: Setting additional info using MQ/CICS Bridge |
|
|
Newbie
Joined: 28 Jun 2001 Posts: 6
|
We have been experimenting with the MQ/CICS Bridge. So far, it looks promising, but my (Java) developers have asked if I could send them an XML representation of a map, rather than the 3270 characters returned.
I am so close to fulfilling their wishes, I can just taste it. However, the bridge exit (CSQCBE30) provided with MQSeries V2.1 for OS/390 for CICS TS 1.3 provides no exit points. So, I decided that the results from the bridge could be written to an intermediate queue, where the data would be translated to XML, and sent to its final destination. The problem is that CSQCBE30 uses MSGID and Correlid, and does not work properly if I attempt to use either of these. I attempted to set APPLIDENTITYDATA, but stupid old CSQCBE30 does not pass it on.
I need to pass the reply-to queue, as I am telling the MQ/CICS Bridge to reply to the intermediate queue.
Any ideas would be greatly, (and I do mean greatly) appreciated.
TIA.
- Mutt |
|
Back to top |
|
 |
bob_buxton |
Posted: Thu May 23, 2002 12:02 am Post subject: |
|
|
 Master
Joined: 23 Aug 2001 Posts: 266 Location: England
|
Do your programs also want to send XML data as inputs maps to the bridge. It is an interesting requirement that I haven't seen before.
You could consider using the MQ-CICS API crossing exit (CSQCAPX) which gets control before and after all MQ API calls in a CICS reqgion.
You could recognize MQPUT/MQGET calls for bridge messages by the presence of a format identifier of MQCICS in the message header.
The exit can do whatever modification you desire before the message is written to the queue/passed to the bridge exit. This would avoid the overhead of an intermediate queue.
See the Appplication Programming Guide for details of the exit.
Bob  _________________ Bob Buxton
Ex-Websphere MQ Development |
|
Back to top |
|
 |
lmutter |
Posted: Thu May 23, 2002 5:24 am Post subject: I owe you one |
|
|
Newbie
Joined: 28 Jun 2001 Posts: 6
|
Hello Bob,
Thanks for the recommendation.
The CSQCAPX was the trick, and it even works as a COBOL program.
As far as future directions, and needing to do this for input, I wouldn't be surprised if we go that way. I am going to show this to my developers, and see where it goes.
Regards,
Lin |
|
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
|
|
|
|