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 » IBM MQ API Support » MQ CICS Bridge problem

Post new topic  Reply to topic
 MQ CICS Bridge problem « View previous topic :: View next topic » 
Author Message
lmutter
PostPosted: Fri Jun 07, 2002 8:37 am    Post subject: MQ CICS Bridge problem Reply with quote

Newbie

Joined: 28 Jun 2001
Posts: 6

We are attempting to use the MQSeries (1.2) CICS (TS 1.3) bridge on OS/390 (2.9), but have run into a snag.

The initial transaction is invoked via a bridge message (CIH + BRMQ header), and a message containing the map from the transaction is returned to the reply to queue. In response to this message, another message is written to the bridge queue, referencing the facility token that was returned in the CIH of the message from the reply to queue.

This message just sits on the bridge queue, with the bridge apparently ignoring it. When the bridge is shut down and restarted, the message then disappears from the bridge queue, and no error messages are produced in the CICS log.

I'm sure we're probably doing something wrong here, but some error messages would be helpful, and some more detailed examples would also be helpful.

Has anyone heard of this?

I'd pay for the source code to the MQ/CICS bridge exit, just so I could see what the heck it's doing.

tia.
Back to top
View user's profile Send private message Send e-mail
bob_buxton
PostPosted: Fri Jun 07, 2002 8:50 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

Is the second message for a new transaction and does it have the correlid set to new session?

The Bridge writes it messages to the CICS message log and not to the Job log so look there for messages.

The documentation for the bridge was improved in the MQ 5.2 books so you may want to look at the online books.

Bob
_________________
Bob Buxton
Ex-Websphere MQ Development
Back to top
View user's profile Send private message
lmutter
PostPosted: Fri Jun 07, 2002 9:12 am    Post subject: Reply with quote

Newbie

Joined: 28 Jun 2001
Posts: 6

Hello Bob,

The 2nd message is to invoke the NEXTTRANSACTIONID which was returned by the bridge in the CIH portion of the message. The MSGID and CORELLID of the 2nd message are = to the MSGID and CORRELLID returned on the MQPUT of the first message.

I'll check the V5.2 books, if you really think it will help, but I can't figure why the bridge is ignoring this message until restarted, then purging it at restart. I am looking at the CICS message log, and there are no error messages regarding this 2nd bridge message.

Regards, Lin
Back to top
View user's profile Send private message Send e-mail
bob_buxton
PostPosted: Sat Jun 08, 2002 6:09 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

You need to set the correlid to new session for each transaction in a psuedo conversation transaction sequence and let MQ generate a new message id for each message.

You only copy the correlid to the subsequent message for a conversational transaction which receives more than one input.

Bob
_________________
Bob Buxton
Ex-Websphere MQ Development
Back to top
View user's profile Send private message
lmutter
PostPosted: Mon Jun 10, 2002 9:07 am    Post subject: Reply with quote

Newbie

Joined: 28 Jun 2001
Posts: 6

Hello again, Bob

What you suggested certainly changed the characteristics of the application's behavior, but it once again leaves me baffled.

When the reply from the 1st message is retrieved, it contains the output map from the application. A 2nd message is MQPUT in attempt to press PF24 on that map. Now, the message simply disappears, again with no error messages produced from the bridge. There is also no dead letter or reply message.

I did an MQ trace on the bridge, and it appears to be getting a 2034 (MQRC_NO_MSG_UNDER_CURSOR) while browsing, but after this, the message is apparently gone. I realize I am being a pest, but without errors and/or source code, it is extremely difficult to get this thing to function. Complicating this is the fact that my experiences with the support center in regards to the MQ/CICS bridge have been rather underwhelming.

Any more doc and/or working examples would be a godsend.

Regards, Lin
Back to top
View user's profile Send private message Send e-mail
bob_buxton
PostPosted: Wed Jun 12, 2002 12:32 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

I am not sure what is happening, certainly messages shouldn't be dissapearing without trace and the bridge shouldn't be getting MQRC_NO_MSG_UNDER_CURSOR responses.

Is there any evidence of other problems within the CICS system - transaction abends, transactions not starting (TCLASS limits) etc.?

I am sorry that you haven't found the support centre too helpful but if you persist the problem will be routed to a more knowledgable person in the change team.

Bob
_________________
Bob Buxton
Ex-Websphere MQ Development
Back to top
View user's profile Send private message
lmutter
PostPosted: Wed Jun 12, 2002 6:34 am    Post subject: Reply with quote

Newbie

Joined: 28 Jun 2001
Posts: 6

Hello again Bob,

Some further re-reading of the trace found that the message I was attempting to send to continue the pseudo-conversation was being discarded by the bridge. This apparently happens when the setting for UOWCONTROL is not done correctly. I have since gotten past this issue, and it is working to our satisfaction so far.

Thanks for your assistance.

Regards, Lin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » MQ CICS Bridge problem
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.