Separate UOW from COBOL batch program zOS - Is it possible

Jan tje

Separate UOW from COBOL batch program zOS - Is it possible
Dear Listers,

zOS 1.8 - DB2 8

I have the need to commit an insert to a given table without committing the
work done on other tables. The program is written in COBOL and runs in batch.

Now, I know that it is not possible to commit only part of a unit-of-work
(UOW). It would not be a unit, would it?

So, a wild idea spurred: let's leave the current UOW, create a new, separate
UOW, insert the data in the one table and commit only this separate UOW.
Then return to the original UOW to continue the work there.

Only, I have no clue on how I can do just that... Do you?

Thanks for any and all suggestions.

Cheers,

Jantje.

______________________________________________________________________

* IDUG 2009 Melbourne, Australia * 18-20 March * http://IDUG.ORG/Events *
______________________________________________________________________




IDUG.org was recently updated requiring members to use a new password. You should have gotten an e-mail with the temporary password assigned to your account. Please log in and update your member profile. If you are not already an IDUG.org member, please register at http://www.idug.org/component/juser/register.html