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 » XML file to a queue

Post new topic  Reply to topic
 XML file to a queue « View previous topic :: View next topic » 
Author Message
rkford11
PostPosted: Mon Oct 04, 2004 2:15 pm    Post subject: XML file to a queue Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

i want to put an xml file on to a queue. going to the location where the file resides i issued the command
amqsput queue_name < abc.xml

but it gives me the following message
sample amqsput0 start
target queue is queue_name
MQOPEN ended with reason code 2085
unable to open the queue for output
sample amqsput0 ended

please let me know the mistake i am making.

Thanks
Back to top
View user's profile Send private message
siliconfish
PostPosted: Mon Oct 04, 2004 2:24 pm    Post subject: Reply with quote

Master

Joined: 12 Aug 2002
Posts: 203
Location: USA

do u have multiple queue managers on this box?
check the default queue manager for the queue name mentioned in amqsput if not specify the name of the queue manager that contains this queue.
_________________
siliconfish
Back to top
View user's profile Send private message
rkford11
PostPosted: Mon Oct 04, 2004 2:41 pm    Post subject: Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

siliconfish wrote:
do u have multiple queue managers on this box?
check the default queue manager for the queue name mentioned in amqsput if not specify the name of the queue manager that contains this queue.


Thank you silicon fish. I came thru my mistake.
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Oct 04, 2004 10:23 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Also, please note that amqsput sample program has a very small buffer. So if your XML file is large (> 99 bytes, I think) then you will see truncated message on the queue. You might want to change the sample program to meet your requirement.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » XML file to a queue
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.