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 » amqsput

Post new topic  Reply to topic
 amqsput « View previous topic :: View next topic » 
Author Message
raj
PostPosted: Tue Nov 11, 2003 10:40 am    Post subject: amqsput Reply with quote

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
View user's profile Send private message
mqonnet
PostPosted: Tue Nov 11, 2003 10:45 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
emiranda
PostPosted: Tue Nov 11, 2003 12:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
TonyD
PostPosted: Tue Nov 11, 2003 1:28 pm    Post subject: Reply with quote

Knight

Joined: 15 May 2001
Posts: 540
Location: New Zealand

Also...you cannot 'amqsput' to a remote QM.
Back to top
View user's profile Send private message Send e-mail
Prahasith
PostPosted: Tue Nov 11, 2003 1:40 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue Nov 11, 2003 1:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Prahasith
PostPosted: Tue Nov 11, 2003 1:53 pm    Post subject: Reply with quote

Disciple

Joined: 16 May 2003
Posts: 184
Location: Kansas City

yeah Jeff, I got it wrong
Back to top
View user's profile Send private message Send e-mail
jstefano
PostPosted: Thu May 11, 2006 3:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
kevinf2349
PostPosted: Thu May 11, 2006 3:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
jstefano
PostPosted: Thu May 11, 2006 6:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
kevinf2349
PostPosted: Thu May 11, 2006 6:27 pm    Post subject: Reply with quote

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
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 » amqsput
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.