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 Discussion » mqsc command execution taking time

Post new topic  Reply to topic
 mqsc command execution taking time « View previous topic :: View next topic » 
Author Message
adiosgattu
PostPosted: Wed Jan 23, 2013 11:14 pm    Post subject: mqsc command execution taking time Reply with quote

Newbie

Joined: 23 Jan 2013
Posts: 3



Hi ,
I have installed MQ 7.0.1.3 in my AIX box running 6.1 .
Also Created qmanager .
But when trying to run mqsc command , it is taking hours time to execute and is displaying any output .

Can any one suggest .

Thanks
Back to top
View user's profile Send private message
adiosgattu
PostPosted: Thu Jan 24, 2013 2:49 am    Post subject: Reply with quote

Newbie

Joined: 23 Jan 2013
Posts: 3

*it is not displaying any output other than the below .


/var/mqm# runmqsc TESTMGR
5724-H72 Copyrigt IBM Corp 1994, 2009. ALL RIGHTS RESERVED.
Starting MQSC for queue manager TESTMGR.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jan 24, 2013 5:51 am    Post subject: Reply with quote

Grand High Poobah

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

What were you expecting it to say?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jan 24, 2013 5:55 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I think that he or she is suggesting that it does not accept any input.

But to clarify, adiosgattu, runmqsc is an interactive command. it waits for you to enter something, after it has completed startup.

Try
Code:
echo 'dis qmgr'|runmqsc TESTMGR
and show us the result.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Thu Jan 24, 2013 2:45 pm    Post subject: Re: mqsc command execution taking time Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

adiosgattu wrote:
But when trying to run mqsc command , it is taking hours time to execute and is displaying any output .

I would be worried if it took more than a few seconds to execute. Does MQ messaging work OK through the queue manager? eg. amqsput amqsget. Is there anything strange in the qmgr error logs?
_________________
Glenn
Back to top
View user's profile Send private message
adiosgattu
PostPosted: Fri Jan 25, 2013 11:41 pm    Post subject: Reply with quote

Newbie

Joined: 23 Jan 2013
Posts: 3

below is the outpuit i got after executing it



echo 'dis qmgr'|runmqsc TESTMGR
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
Starting MQSC for queue manager TESTMGR.


1 : dis qmgr
AMQ8408: Display Queue Manager details.
QMNAME(TESTMGR) ACCTCONO(DISABLED)
ACCTINT(1800) ACCTMQI(OFF)
ACCTQ(OFF) ACTIVREC(MSG)
ALTDATE(2013-01-0 ALTTIME(06.30.03)
AUTHOREV(DISABLED) CCSID(819)
CHAD(DISABLED) CHADEV(DISABLED)
CHADEXIT( ) CHLEV(DISABLED)
CLWLDATA( ) CLWLEXIT( )
CLWLLEN(100) CLWLMRUC(999999999)
CLWLUSEQ(LOCAL) CMDEV(DISABLED)
CMDLEVEL(701) COMMANDQ(SYSTEM.ADMIN.COMMAND.QUEUE)
CONFIGEV(DISABLED) CRDATE(2013-01-0
CRTIME(06.30.03) DEADQ( )
DEFXMITQ(TRANSQUEUE) DESCR( )
DISTL(YES) INHIBTEV(DISABLED)
IPADDRV(IPV4) LOCALEV(DISABLED)
LOGGEREV(DISABLED) MARKINT(5000)
MAXHANDS(256) MAXMSGL(4194304)
MAXPROPL(NOLIMIT) MAXPRTY(9)
MAXUMSGS(10000) MONACLS(QMGR)
MONCHL(OFF) MONQ(OFF)
PARENT( ) PERFMEV(DISABLED)
PLATFORM(UNIX) PSRTYCNT(5)
PSNPMSG(DISCARD) PSNPRES(NORMAL)
PSSYNCPT(IFPER) QMID(TESTMGR_2013-01-08_06.30.03)
PSMODE(ENABLED) REMOTEEV(DISABLED)
REPOS( ) REPOSNL( )
ROUTEREC(MSG) SCHINIT(QMGR)
SCMDSERV(QMGR) SSLCRLNL( )
SSLCRYP( ) SSLEV(DISABLED)
SSLFIPS(NO)
SSLKEYR(/var/mqm/qmgrs/TESTMGR/ssl/key)
SSLRKEYC(0) STATACLS(QMGR)
STATCHL(OFF) STATINT(1800)
STATMQI(OFF) STATQ(OFF)
STRSTPEV(ENABLED) SYNCPT
TREELIFE(1800) TRIGINT(999999999)
One MQSC command read.
No commands have a syntax error.
All valid MQSC commands were processed.





also wen i try to create a local q , below is the error m getting .

var/mqm# dspmq
QMNAME(TESTMGR) STATUS(Running)


var/mqm# create qlocal (Q1)
ksh: syntax error: `(' unexpected



Is it something to do with any installation related issues . Please suggest
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Sat Jan 26, 2013 12:04 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

adiosgattu wrote:
One MQSC command read.
No commands have a syntax error.
All valid MQSC commands were processed.
Is it something to do with any installation related issues . Please suggest


No, it has to do with the human not knowing the knowledge needed. Obviously, you don't want to use Google, the InfoCentre, or training.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Sat Jan 26, 2013 5:58 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

adiosgattu wrote:

var/mqm# create qlocal (Q1)
ksh: syntax error: `(' unexpected



Is it something to do with any installation related issues . Please suggest

The error above is from your UNIX shell, and not from wmq.

WMQ objects are created when you type MQSC commands using the runmqsc utility. MQSC commands (like DISPLAY QMGR) are documented in the WebSphere MQ MQSC reference manual.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Sat Jan 26, 2013 10:14 am    Post subject: Reply with quote

Grand High Poobah

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

adiosgattu wrote:
Please suggest


I suggest you consult a qualified medical professional; you've clearly got some kind of undiagnosed brain injury. That's the only way you could think:

adiosgattu wrote:
var/mqm# create qlocal (Q1)


was in any way correct, especially when you've been told to and successfully performed:

adiosgattu wrote:
echo 'dis qmgr'|runmqsc TESTMGR


What, at a Unix level is that doing? If you can't answer that you shouldn't be using Unix never mind WMQ.

I mean, seriously. You clearly know about runmqsc because you were trying to use it. Then you decide "hey, let's just type stuff at the command prompt and hope this OS is the same as they use on CSI:Miami & it'll just work no matter what I do"
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sat Jan 26, 2013 12:05 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

runmqsc is an interactive program.

You start it, and it *waits* for input.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat Jan 26, 2013 4:23 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

mqjeff wrote:
runmqsc is an interactive program.

You start it, and it *waits* for input.

In interactive mode, runmqsc waits at STDIN (keyboard) for you to type MQSC commands. Type an MQSC command, then press the Enter key. Runmqsc will then display on STDOUT (display) the results of the command you typed. Type end, and press the Enter key to end execution of runmqsc.

In batch mode, you can redirect both input and output.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
SAFraser
PostPosted: Sun Jan 27, 2013 12:49 pm    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

I find this not just rude but actually offensive:

Vitor wrote:
adiosgattu wrote:
Please suggest


I suggest you consult a qualified medical professional; you've clearly got some kind of undiagnosed brain injury.



On the other hand, both of these responses were actually nicer than the OP deserved:

mqjeff wrote:
runmqsc is an interactive program.

You start it, and it *waits* for input.


bruce2359 wrote:

In interactive mode, runmqsc waits at STDIN (keyboard) for you to type MQSC commands. Type an MQSC command, then press the Enter key. Runmqsc will then display on STDOUT (display) the results of the command you typed. Type end, and press the Enter key to end execution of runmqsc.

In batch mode, you can redirect both input and output.


You fellows have many moods, I must say. Sometimes naughty, sometimes nice.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jan 27, 2013 8:17 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

I doubt that Vitor's answer was meant to be offensive.
I'd rather see it as ironic and definitely caustic... more like a good wake up call, like Helloooooo think before posting and admit when you don't know what to expect from a program, may be ask for expected behavior...

Like:
Quote:
I am trying to run this runmqsc program, only after starting it with
runmqsc QMGR it just gives me this prompt and seems to hang...

QMGR>

Is this expected behavior? What am I missing here?


I believe a question framed like that would have elicited much more informative responses and very little controversy.

Unfortunately we have had a lot of people recently asking to be spoonfed and I believe it may have affected some of Vitor's style...


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
rekarm01
PostPosted: Mon Jan 28, 2013 1:07 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

Vitor wrote:
"hey, let's just type stuff at the command prompt and hope this OS is the same as they use on CSI:Miami & it'll just work no matter what I do"

This isn't quite CSI, but maybe it's close enough? http://www.youtube.com/watch?v=u8qgehH3kEQ
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Jan 28, 2013 5:43 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

SAFraser wrote:
You fellows have many moods, I must say. Sometimes naughty, sometimes nice.


I couldn't imagine my work day without trading forum email with Vitor. If I didn't have a Vitor exchange, I may acquire withdrawal symptoms.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
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 » General Discussion » mqsc command execution taking time
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.