Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How often should you issue a commit

Status
Not open for further replies.

gtub

Programmer
Jan 24, 2008
1
AU
I'm writing a batch cobol program which is reading a file, and placing the indiviudal records onto MQ. The file may contain up to 15,000 records.

In test it abended with RC2024, because the unit of work was too big. and it exceeded the MaxUncomittedMsgs.

This was fixed by doing a commit every 5000 puts.

Is there any guide to determine the optimum size for a unit of work ?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top