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 » IBM MQ Performance Monitoring » MO71 put message "problem"

Post new topic  Reply to topic
 MO71 put message "problem" « View previous topic :: View next topic » 
Author Message
kaitlyn
PostPosted: Wed Dec 01, 2004 12:16 pm    Post subject: MO71 put message "problem" Reply with quote

Apprentice

Joined: 24 Nov 2004
Posts: 25

When I use the MO71 > Action>Put Message, I enter a long message "<XDatacapFile><XDatacapDataFeedType><Record><templateId>Template5</templateId><documentId>xcdser1222sdfasdfsd12312223123213d2221012</documentId><formtype>RequestAppeal</formtype><documentType>empfroi</documentType><twccNm>05100466</twccNm><dateReceived>03/02/2001</dateReceived><sequenceNm>123</sequenceNm><docMediaTypeCode>image/tiff</docMediaTypeCode><docSourceCode>CM</docSourceCode><createdBy>DATACAP</createdBy><createdOn>11/16/2004</createdOn><backFile>N</backFile></Record></XDatacapDataFeedType></XDatacapFile>" and when I put it in the queue, it only takes 99 characters (stops at ><documentId>xcdser122). When I look at the queue's properties, it indicates that it can take over 4 million (don't remember the exact number). Any way I can get this whole message into one message into a queue? Is there a setting somewhere that I am missing that tells it only 99 at a time?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Dec 01, 2004 4:08 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

With an XML message you are probably better off entering it into a file and using amqput(c) to put the message to the queue.

Enjoy
Back to top
View user's profile Send private message Send e-mail
csmith28
PostPosted: Wed Dec 01, 2004 5:05 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

What's up with the word wrap?
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Dec 01, 2004 5:08 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Some controls have a problem with text longer than xxx and no CR/LF which is typical of XML messages.

Its a rendering problem.

Enjoy
Back to top
View user's profile Send private message Send e-mail
kaitlyn
PostPosted: Thu Dec 02, 2004 8:13 am    Post subject: Reply with quote

Apprentice

Joined: 24 Nov 2004
Posts: 25

OK, now I'm confused. Here's the command I am using:

/usr/mqm/samp/bin/amqsput ScannedDocs <test.xml

where test.xml is the input xml which contains everything that is in my first message. Here's what happens:

1) If I have the xml file contain one long continuous string (as in my first message), I still get the same results (99 characters per message with multiple messages).

2) If I have the xml file contain carriage returns (one start/end tag per line), it puts one message per line (just like the file has it) rather that treating the entire file as ONE message!

HELP!!!!! What now?
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Dec 02, 2004 9:12 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
using amqput(c)

Those programs only have a buffer of around 80, or 100 bytes.

Try grabbing the IH03 SupportPac. Then, once you have the message saved in a file, you can use rfhutil(c) to read that file, then PUT the message.

Or take a look at the "q" program. (Can't remember the SupportPac name), which now also has the ability to read from a file.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Dec 02, 2004 5:39 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Tell you the truth I myself use a little java utility for those purposes....

Enjoy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Performance Monitoring » MO71 put message "problem"
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.