Author |
Message
|
pcelari |
Posted: Thu Aug 31, 2006 5:26 am Post subject: Unable to view QMgr on mainframe over MQExplorer v6. |
|
|
Chevalier
Joined: 31 Mar 2006 Posts: 411 Location: New York
|
Our mainframe program retrieving msg from queue suddenly fail with rc2110, format error.
I suppose this might be that the sender on a different platform set the format to format_none. But I have to view the mqmd of the msg.
I heard a lot about MQExplorer in v6 can read mainframe queues. So I set the MCAUSER in SYSTEM.ADMIN.SVRCONN to my userid, and created the queue SYSTEM.MQEXPLORER.REPLY.MODEL. But I a connect attempt gives me mqrc 2046 option error.
What else do I need to set to view queues on mainframe? We have client attachment feature installed on our z/OS box.
Any suggestion would be greatly appreciated. _________________ pcelari
-----------------------------------------
- a master of always being a newbie |
|
Back to top |
|
 |
oz1ccg |
Posted: Thu Aug 31, 2006 5:30 am Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 31, 2006 5:35 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Also, 2110 is just a warning. In fact, the message may have already been converted to the proper CCSID, and that's why conversion didn't work. But the message is given to the application, so you can attempt to process it anyway.
Secondly, you can use any MQ client program to view the message on that queue - you don't have to use MQExplorer. You could even use amqsbcgc! _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
pcelari |
Posted: Thu Aug 31, 2006 5:55 am Post subject: |
|
|
Chevalier
Joined: 31 Mar 2006 Posts: 411 Location: New York
|
jefflowrey wrote: |
you can use any MQ client program to view the message on that queue - you don't have to use MQExplorer. You could even use amqsbcgc! |
really a grand master! yes, that did the trick. I didn't expect that to be that simple as any mqclient application. Many thanks.
It turned out I was right in guessing that format field in mqmd was not set. it's empty.
Is there a way for me to manually alter that to MQ_FMT_STRING? like a typical debugger can do? _________________ pcelari
-----------------------------------------
- a master of always being a newbie |
|
Back to top |
|
 |
zpat |
Posted: Thu Aug 31, 2006 6:13 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Any program or utility can only GET or PUT to/from the queue.
It's not possible to update a message in-situ (AFAIK) but a program like RFHUTILC (support pac IH03) can be used to remove the message (GET) to it's buffer, or to a file, modify the MQMD and then replace it (PUT) on the queue.
Somewhat tedious to do with a large number of messages, in which case writing a (MQI) program yourself would be the best option. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Thu Aug 31, 2006 8:23 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
jefflowrey wrote: |
Secondly, you can use any MQ client program to view the message on that queue - you don't have to use MQExplorer. You could even use amqsbcgc! |
That's what MQ Visual Edit does best.
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
|