|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQPUT |
« View previous topic :: View next topic » |
Author |
Message
|
QueenBee |
Posted: Mon Jan 03, 2005 10:47 am Post subject: MQPUT |
|
|
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 |
|
 |
kirani |
Posted: Mon Jan 03, 2005 11:05 am Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Mon Jan 03, 2005 12:48 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|