Re: Anyone tried putting large messages with Paul Clarke's "Q" program?

2003-03-21 Thread Paul Clarke
>You seem to be passing in 'q' as an argument to the -f switch, does that
mean you're trying to put the contents of the 'q' utility on as a MQ
message?  What is the -=999 parameter for?

Kulbir,

The '-=' parameter tells queue to accept truncated messages larger than
this value, this is used when getting messages from a queue. For example q
-IQ1 -=1 will remove messages from a queue and truncate every message after
the first byte. This can be useful if you want to clear a queue, ie. q -IQ1
-=1 -q but don't want Q to have to allocate megabytes of storage just to
read your large messages into. Note that whenever you are truncating
messages you are effectively throwing away data though.

Cheers,
P.

Paul G Clarke
WebSphere MQ Development
IBM Hursley

---

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Anyone tried putting large messages with Paul Clarke's "Q" program?

2003-03-21 Thread Kulbir S. Thind

You seem to be passing in 'q' as an argument to the -f switch, does that mean you're trying to put the contents of the 'q' utility on as a MQ message?  What is the -=999 parameter for?






"Nigel Phelan" <[EMAIL PROTECTED]>

Sent by: "MQSeries List" <[EMAIL PROTECTED]>
21-Mar-2003 14:40
Please respond to "MQSeries List" <[EMAIL PROTECTED]>

        
                        

        To:        MQSERIES

        cc:        
        Subject:        Anyone tried putting large messages with Paul Clarke's "Q" program?



Hi all - posted for a colleague in the hope someone knows the answer off the top of their head: 

"...Has anybody actually gotten q to send very large messages? 
If I try using various files it either splits it into lines or gets a Hconn error. 

% ./q -oBLAST -m minbar -=999 -f q 
MQSeries Q Program by Paul Clarke [ V4.1 Build:Oct  4 2002 ] 
Connecting ...connected to 'minbar                                          '. 
MQPUT on object 'BLAST' returned 2018 Hconn error.. 

If I feed it a tar file it creates several thousand messages rather than one large one. 

Ideas?..." 

Nigel

---