|
@Buck: the first step is very easy:
- give your new programms a named activationgroup COMMIT
- if you issue a commit after each write and use all defaults it's working
as before and the problem of the OP is gone!
- starting from this point you could put some database operations
together, completing all together (you've said commit), or all discarde
(you've said rollback)
- maybe your batch processe are workink like lots, I've seen, reading some
workfiles, producing another and changing a flag, in the primary file to
read => just put all operations for one record of the primary file to one
transaction and you would have lots of benefit.
- another effect will be, that you would have to start journaling to all
files, giving you much more information what did really happen during the
nightly batch, when you where lieing in your bed, sleeping, coming to the
office next morning and your batch is sitting and waiting for you to answer
soem inqiry message...
<Buck>
... why not write...
</Buck>
reading some responses, I'm getting in these list, I'm thinking it might
be a waste of time...
but anyway, if you've some questions, I will try to answer.
D*B
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.