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 » General IBM MQ Support » amqsputc not delivering all messages on zLinux and z/OS

Post new topic  Reply to topic
 amqsputc not delivering all messages on zLinux and z/OS « View previous topic :: View next topic » 
Author Message
djdoyleNYC
PostPosted: Wed Jun 15, 2011 11:31 am    Post subject: amqsputc not delivering all messages on zLinux and z/OS Reply with quote

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
View user's profile Send private message
mvic
PostPosted: Wed Jun 15, 2011 11:33 am    Post subject: Re: amqsputc not delivering all messages on zLinux and z/OS Reply with quote

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
View user's profile Send private message
djdoyleNYC
PostPosted: Wed Jun 15, 2011 12:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Wed Jun 15, 2011 12:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
mvic
PostPosted: Wed Jun 15, 2011 12:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 15, 2011 1:25 pm    Post subject: Re: amqsputc not delivering all messages on zLinux and z/OS Reply with quote

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
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Wed Jun 15, 2011 2:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » amqsputc not delivering all messages on zLinux and z/OS
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.