Author |
Message
|
cpeele |
Posted: Wed Oct 31, 2007 8:45 am Post subject: Need to auto-start QMGR from mqsc script command |
|
|
Acolyte
Joined: 04 Apr 2007 Posts: 53
|
Hey guys,
I need to set the auto-start of the Queue Manager through a mqsc script command rather than going through MQ Explorer --> right-click on queue manager --> properties ---> set Startup to Automatic instead of manual.
I can't seem to find how to do this?
Thanks,
Chris |
|
Back to top |
|
 |
Michael Dag |
Posted: Wed Oct 31, 2007 9:05 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
not possible using mqsc, maybe a bat or cmd file using amqmdain commands? _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
cpeele |
Posted: Wed Oct 31, 2007 9:07 am Post subject: |
|
|
Acolyte
Joined: 04 Apr 2007 Posts: 53
|
Hello and thanks for the reply,
Do you know how to do it through a bat or cmd file using amqmdain commands?
thanks again!
Chris |
|
Back to top |
|
 |
Michael Dag |
Posted: Wed Oct 31, 2007 9:17 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
cpeele |
Posted: Wed Oct 31, 2007 9:27 am Post subject: |
|
|
Acolyte
Joined: 04 Apr 2007 Posts: 53
|
So I guess that means you know the answer(maybe) but would rather have me spend an hour searching through google for the solution? |
|
Back to top |
|
 |
markt |
Posted: Wed Oct 31, 2007 9:31 am Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
No, I think people would rather you spent 3 minutes looking in the product documentation. |
|
Back to top |
|
 |
cpeele |
Posted: Wed Oct 31, 2007 9:34 am Post subject: |
|
|
Acolyte
Joined: 04 Apr 2007 Posts: 53
|
I disagree. I think if someone needs help and you know the answer than give it to them and then maybe inform them to check the documentation next time. But your's is the attitude of most frequent posters on these forums. |
|
Back to top |
|
 |
Michael Dag |
Posted: Wed Oct 31, 2007 9:36 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
cpeele wrote: |
I disagree. I think if someone needs help and you know the answer than give it to them and then maybe inform them to check the documentation next time. But your's is the attitude of most frequent posters on these forums. |
gee... even on google amqmdain turns up as the first hit...
I did not know the answer, but now I do and it took me less then 20 seconds, you can do it too...  _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Oct 31, 2007 9:37 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
cpeele wrote: |
I disagree. I think if someone needs help and you know the answer than give it to them and then maybe inform them to check the documentation next time. But your's is the attitude of most frequent posters on these forums. |
Is it better to teach people the answer to one question? Or how to find the answers to lots of questions? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
cpeele |
Posted: Wed Oct 31, 2007 9:37 am Post subject: |
|
|
Acolyte
Joined: 04 Apr 2007 Posts: 53
|
got to love the sarcasm... |
|
Back to top |
|
 |
cpeele |
Posted: Wed Oct 31, 2007 9:38 am Post subject: |
|
|
Acolyte
Joined: 04 Apr 2007 Posts: 53
|
Code: |
[Is it better to teach people the answer to one question? Or how to find the answers to lots of questions? |
You have a good point. But I would suggest both [/quote] |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Oct 31, 2007 9:43 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
cpeele wrote: |
Code: |
[Is it better to teach people the answer to one question? Or how to find the answers to lots of questions? |
You have a good point. But I would suggest both  |
[/quote]
If they get an answer to one question every time they post, will they take any time to read to the second admonition? Will they take time, BEFORE POSTING, the next time to try and answer the question themselves?
And, as always. If you feel strongly about it, go ahead and spend your time answering questions the way you want to. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|