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 » General IBM MQ Support » Q fails in v8

Post new topic  Reply to topic
 Q fails in v8 « View previous topic :: View next topic » 
Author Message
kattark
PostPosted: Mon Jan 04, 2016 7:47 am    Post subject: Q fails in v8 Reply with quote

Newbie

Joined: 04 Jan 2016
Posts: 2

Hello folks,
1. I’m trying to use q program in MQ V8, to store messages in a file in readable format (dmpmqmsg works fine, but it generates the output in binary format)
[mqm@ua00510d scripts]$ ./q -mMQ002E -iSYSTEM.DEAD.LETTER.QUEUE -dfnd3 > msgs.file
MQSeries Q Program by Paul Clarke [ V5.0.0 Build:Jul 17 2008 ]
Connecting ...failed.
MQCONN on object 'MQFT002E' returned 2059 QMgr not available..

2. Is there an option with dmpmqmsg, to store messages in readable format?


This is resolved by setting up the mq environment as below:
. /opt/mq/80/MQ002E/bin/setmqenv -s -k

Thank you for replying Paul!


Last edited by kattark on Mon Jan 04, 2016 9:47 am; edited 1 time in total
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Mon Jan 04, 2016 9:10 am    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

What is the subtext of the Q program output. Are you saying that Q fails to connect to a running, local Queue Manager ?

Cheers,

Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Mon Jan 04, 2016 9:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Also, perhaps you could try a newer build than
Quote:
V5.0.0 Build:Jul 17 2008

_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
kattark
PostPosted: Mon Jan 04, 2016 9:48 am    Post subject: Reply with quote

Newbie

Joined: 04 Jan 2016
Posts: 2

This is resolved by setting up the mq environment as below:
. /opt/mq/80/MQ002E/bin/setmqenv -s -k

Thank you for replying Paul!
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 » General IBM MQ Support » Q fails in v8
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.