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 Installation/Configuration Support » extract q from local QM

Post new topic  Reply to topic
 extract q from local QM « View previous topic :: View next topic » 
Author Message
SOLOHERO
PostPosted: Sun Apr 27, 2008 10:36 pm    Post subject: extract q from local QM Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

hi,

How can i extract all the queues in my local QM(from MQ) to a wordpad/notepad.

Thanks
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
Gaya3
PostPosted: Sun Apr 27, 2008 10:53 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

use some scripting or use MS03 to do so...

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
AkankshA
PostPosted: Sun Apr 27, 2008 11:24 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

if u just want them to have for as information then

simply say runmqsc
direct the input from a file with display ql(*) command
redirect the o/p to a file

this file ll have the info of all your queues...
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
SOLOHERO
PostPosted: Sun Apr 27, 2008 11:53 pm    Post subject: Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

hi akansha,

how do u mean by input file
cause i dont have a script with the input files, all the q are under qm and i want to extract all the queues to a file.

could you please type the command

C:\Program Files\IBM\MQSI\6.0\bin>runmqsc ?


Thanks in advance..
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
Gaya3
PostPosted: Mon Apr 28, 2008 12:00 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

runmqsc <QMGR NAME> < <File Input> > <File Output>

file input should contain
dis ql(*)


Mods : Please move this to MQ forum
Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
SOLOHERO
PostPosted: Mon Apr 28, 2008 12:44 am    Post subject: Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

Thaks for the reply guys,

But i get the follwing error when i try to run the cmd, when i say

display ql(*) --- it displays all the queues but when i am trying to extract
to a file by using

display ql(*) "c:\users\sa.in"

it throws the syntex error.
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
AkankshA
PostPosted: Mon Apr 28, 2008 12:47 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

u can extract to a file at runmqsc level...

not at mqsc command level..


Also ql shall only display local queues....

u might be interested in viewing other type of queues as well... like remotre/alias etc
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Mon Apr 28, 2008 12:52 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

SOLOHERO wrote:
display ql(*) --- it displays all the queues but when i am trying to extract
to a file by using

display ql(*) "c:\users\sa.in"

it throws the syntex error.


Well of course it does. Think a bit about what you're doing, and how redirection to a file works (hint: it works at an OS level not an MQ one) and you'll see why!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Mon Apr 28, 2008 12:53 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

had given the way to get it..
but still doing mistakes....

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Apr 28, 2008 12:57 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Gaya3 wrote:
had given the way to get it..
but still doing mistakes....


Well, yes, but a poster of your experience should be used to that. People do you know; keep doing mistakes.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
SOLOHERO
PostPosted: Mon Apr 28, 2008 4:12 pm    Post subject: Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

Thanks for your help guys,
i finally ended up using saveqmgrc.exe.
Thanks a lot..
_________________
Thanks
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 Installation/Configuration Support » extract q from local QM
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.