Author |
Message
|
raj |
Posted: Tue Nov 11, 2003 10:40 am Post subject: amqsput |
|
|
Centurion
Joined: 31 Mar 2002 Posts: 104
|
Hi,
I am loging on the queuManager on AIX and using the amqusput to put a test message like this but it is not going.Am i doing some thing wrong)
runmqsc QM
Aamqsput queue remoteQM
Please give me the correct steps.
Thanks
Raj |
|
Back to top |
|
 |
mqonnet |
Posted: Tue Nov 11, 2003 10:45 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
I guess you should check the spellings(from what you posted here).
"using the amqusput"
"Aamqsput queue remoteQM"
:)
Not sure what the problem is, since you did not post what happened when you run amqsput.
syntax is.
AMQSPUT <Q NAME> <QMNAME>
amqsput FRED MYQM as an example.
If this does not help, then post the reason code here, that you get when you run amqsput. Also post the complete output of your amqsput run.
Cheers
Kumar |
|
Back to top |
|
 |
emiranda |
Posted: Tue Nov 11, 2003 12:45 pm Post subject: |
|
|
 Disciple
Joined: 21 Nov 2002 Posts: 196 Location: Dublin, Ireland
|
Hi,
Are you running amqsput from runmqsc console? Do you first run runmqsc QM and after amqsput QUEUE QM?
If yes, it's wrong.
runmqsc is a console environment for administrative purpouse. You should run amqsput QUEUE QM from the prompt.
Cheers  _________________ Warm Regards,
EM |
|
Back to top |
|
 |
TonyD |
Posted: Tue Nov 11, 2003 1:28 pm Post subject: |
|
|
Knight
Joined: 15 May 2001 Posts: 540 Location: New Zealand
|
Also...you cannot 'amqsput' to a remote QM. |
|
Back to top |
|
 |
Prahasith |
Posted: Tue Nov 11, 2003 1:40 pm Post subject: |
|
|
 Disciple
Joined: 16 May 2003 Posts: 184 Location: Kansas City
|
Tony I guess you are wrong
you can amqsput to a remote queue |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Nov 11, 2003 1:46 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Prahasith wrote: |
Tony I guess you are wrong
you can amqsput to a remote queue |
Yes, you can use amsqput to connect to a local Queue Manager, and then put to a remote queue definition.
But you can't use amqsput to connect to a remote Queue Manager. Which is what Tony said. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Prahasith |
Posted: Tue Nov 11, 2003 1:53 pm Post subject: |
|
|
 Disciple
Joined: 16 May 2003 Posts: 184 Location: Kansas City
|
yeah Jeff, I got it wrong |
|
Back to top |
|
 |
jstefano |
Posted: Thu May 11, 2006 3:04 pm Post subject: |
|
|
Apprentice
Joined: 13 Apr 2006 Posts: 48
|
Prahasith wrote: |
yeah Jeff, I got it wrong |
Hi guys,
would you mind to help me a little? I successfully installed test CLuster
LONDON/NEWYORK, now I am trying to test it (amqsput INVENTQ LONDON) and I am receiving this error:
$ runmqsc LONDON
5724-B41 (C) Copyright IBM Corp. 1994, 2002. ALL RIGHTS RESERVED.
Starting MQSC for queue manager LONDON.
amqsput INVENTQ LONDON
1 : amqsput INVENTQ LONDON
AMQ8405: Syntax error detected at or near end of command segment below:-
a
AMQ8426: Valid MQSC commands are:
ALTER
CLEAR
DEFINE
DELETE
DISPLAY
END
PING
REFRESH
RESET
RESOLVE
RESUME
START
STOP
SUSPEND
Can somebody give me a hint, please?
Thanks a lot in advance
Jan  |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu May 11, 2006 3:45 pm Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
amqsput is not a runmqsc command.
Forget about runmqsc in this case. |
|
Back to top |
|
 |
jstefano |
Posted: Thu May 11, 2006 6:09 pm Post subject: |
|
|
Apprentice
Joined: 13 Apr 2006 Posts: 48
|
kevinf2349 wrote: |
amqsput is not a runmqsc command.
Forget about runmqsc in this case. |
Thanks a lot! And would you be so kind and let me knwo how to use it then? Just a few lines, they don't mention it in the manuall....
thanks again!
Jan |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu May 11, 2006 6:27 pm Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
The post by mqonnet tells you how to use AMQSPUT and it has a help switch too but it isn't rocket science.
Code: |
AMQSPUT qname qmgrname |
If you mean runmqsc it is runmqsc qmgr and then enter the commands you want to issue...these can be found in the MQSC Command manual.
You can also pipe in a whole slew of command if you want.  |
|
Back to top |
|
 |
|