Author |
Message
|
klabran |
Posted: Wed Mar 17, 2004 9:30 am Post subject: Message Length for MQSIPUTC |
|
|
 Master
Joined: 19 Feb 2004 Posts: 259 Location: Flagstaff AZ
|
I need to increase the message length for a test that I am doing using mqsiputc utility.
How do I specify the message length in the mqsiputc utility?
Kevin |
|
Back to top |
|
 |
EddieA |
Posted: Wed Mar 17, 2004 9:43 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
You don't. It takes the length of the data you supply, so, increase the size of your data.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
klabran |
Posted: Wed Mar 17, 2004 9:47 am Post subject: |
|
|
 Master
Joined: 19 Feb 2004 Posts: 259 Location: Flagstaff AZ
|
Eddie,
It's giving me the following error...
Buffer space has been exceeded. Increase MESSAGELENGTH.
MQSIPUT Failure.
I am doing mqsiputc QName < textfile.txt |
|
Back to top |
|
 |
EddieA |
Posted: Wed Mar 17, 2004 9:51 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
In which case, you've got more than 32K of data.
Add "MESSAGELENGTH nnn" under OPTIONS to increase the size of the buffer. It's in the doc that comes with the utility.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
klabran |
Posted: Wed Mar 17, 2004 10:19 am Post subject: |
|
|
 Master
Joined: 19 Feb 2004 Posts: 259 Location: Flagstaff AZ
|
Thanks!
Unfortunately it looks like my test data set is to big to be handled in one put call using MQSIPUTC.
MESSAGELENGTH NNN
I had to break up the message into two separate calls.
Thanks for the pointer.
Kevin |
|
Back to top |
|
 |
|