Posted: Mon Oct 04, 2004 2:15 pm Post subject: XML file to a queue
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
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
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.
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
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