Search This Blog

Tuesday, May 11, 2010

Queue manager on mainframe / zos.

I have a program that put messages on MQ series its its working like a charm , the other side can pick up the message and everyone are happy, the MQ series installed on windows.
We try to deploy our program on the client environment they only changes was that the MQ series installed on mainframe, we knew that, but MQ is multi-platform OS there was no worries, so we manged to connect to the Queue manager and put a message , the problem was the other side could not pick up the message we sent.
we could not find what can cause it , untill we found this thread strange mq client behaviour whan connecting to mainframe

"Mainframe queue managers use syncpoint by default, other platforms do not. Messages are going onto the mainframe queue (causing the count to increase) but are not eligable to be read back (appearing to be blank) and eventually roll back (causing the count to decrease again). Use an explicit commit (like q.exe does). It won't affect running again non-mainframe queue managers."

so right after the put messages i used
qmgr.commit
and the other side could pick up my message from the mainframe queue - that's worked !!!

enjoy
Yaniv T

No comments: