Author |
Message
|
djdoyleNYC |
Posted: Wed Jun 15, 2011 11:31 am Post subject: amqsputc not delivering all messages on zLinux and z/OS |
|
|
Newbie
Joined: 15 Jun 2011 Posts: 2
|
The platforms are z/OS and zLinux. The situation is the MQ client puts a file of 45,582 messages over a client channel using amqsputc. The messages are 2K each in length. The put is successful but only 4,142 messages are put to the queues. Is there a limit on how many messages that amqsputc can put? The max qdepth for the queues being put to are infinite so there should be no throttling. |
|
Back to top |
|
 |
mvic |
Posted: Wed Jun 15, 2011 11:33 am Post subject: Re: amqsputc not delivering all messages on zLinux and z/OS |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
djdoyleNYC wrote: |
The messages are 2K each in length. |
How are you managing to put 2 KB messages using amqsputc?
Is cc=0,rc=0 from each call to MQPUT? |
|
Back to top |
|
 |
djdoyleNYC |
Posted: Wed Jun 15, 2011 12:12 pm Post subject: |
|
|
Newbie
Joined: 15 Jun 2011 Posts: 2
|
It's a file that is piped in containing 45,582 messages 2K each in length. The command ran successfully so it should be cc=0,rc=0. I apologize if the details are limited, I'm working with a customer on this situation so I'm not directly issuing the commands |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Jun 15, 2011 12:20 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
As delivered from IBM, amqsputc will not do what you say it is doing.
How do you know exactly how many messages it is putting? amqsputc doesn't count input lines read or msgs mqput to queues. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
mvic |
Posted: Wed Jun 15, 2011 12:31 pm Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
As bruce says, it's possible amqsputc is not doing what you think it is doing. amqsput/amqsputc is just a little sample program to write small non-persistent messages to a queue. Take a look at the source, which comes included with a full MQ installation. For best results, it's best to write your own program that explicitly does what you need it to do. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 15, 2011 1:25 pm Post subject: Re: amqsputc not delivering all messages on zLinux and z/OS |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
djdoyleNYC wrote: |
The max qdepth for the queues being put to are infinite so there should be no throttling. |
This assumption is quite wrong. The max qdepth is not the only limiting factor in zOS, or in distributed...
If the messages stay on the queue, the next limiting factor is the pageset space on zOS for that queue, (or the filespace on distributed). As well if the logspace is not available to hold the messages in linear logging you will hit the next bottleneck...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Jun 15, 2011 2:26 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
A quick read of the MQSC manual will lead you to the values allowed for maxdepth for a queue. Infinite is not an allowed value. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|