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 » MQPUT

Post new topic  Reply to topic
 MQPUT « View previous topic :: View next topic » 
Author Message
QueenBee
PostPosted: Mon Jan 03, 2005 10:47 am    Post subject: MQPUT Reply with quote

Apprentice

Joined: 28 May 2003
Posts: 43
Location: Grand Rapids, MICHIGAN

We have an application that takes in a flatfile, loops through it pulling off a specified number of bytes at a time and does an MQPUT until it reaches the end of the flat file.

Is the message committed each time we do an MQPUT?

How do we change it so the commit isnt done until we read all the way through the flat file?

Help.
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Jan 03, 2005 11:05 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

It depends on what syncpoint options you use. Take a look at MQPMO_* options and MQCMIT call.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Mon Jan 03, 2005 12:48 pm    Post subject: Reply with quote

Grand High Poobah

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

It depends as well on queue depth, file size and a number of other factors.

A good practice would be to write somewhere a restart / recovery checkpoint, let's say every 100 records/messages...
This avoids hitting the uncommitted messages threshold and max qdepth etc....

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 » General IBM MQ Support » MQPUT
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.