Adam,

Nope, there's only one kind of journal.

All the updates are done by a single program?

You've got the COMMIT keyword specified on all the F-specs?

Commit/Rollback being done in the program that does the updating?

Assuming the answer to all the above is YES. Then, what you describe is puzzling...

Try using the DSPJRN command to look at the journal entries. Look for the updates for a file that is
being rolled back and one that isn't. Take a look at the details. In particular, do they have the
same commit cycle ID?

Charles Wilt
--
Software Engineer
CINTAS Corporation - IT 92B
513.701.1307

wiltc@xxxxxxxxxx


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Adam Glauser
Sent: Monday, May 12, 2008 11:43 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Commitment control / jounalling

I've got a problem that seems to be a perfect fit for commitment
control. The problem program is meant to update a bunch of resources
that are involved in an action. If one of the resources is locked by
another job, the update is half completed and we get a phone call to fix
the problem.

I read through Paul Conte's excellent article here:
http://systeminetwork.com/article/matter-integrity-practical-guide-
database-transactions
(http://tinyurl.com/5yz4ln), as well as skimming the related InfoCentre
articles. As I understand it, files must be journalled to participate
in commitment control (except for the special case of Soft Commit in
V5R4+).

I've added some code to the program to perform a COMMIT or ROLBK as
necessary, but only some of my changes get rolled back. The files that
don't get rolled back say they are journaled on the DSPFD output. The
journal that they show is part of our HA software.

Does commitment control require a specific type of journal?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




This e-mail transmission contains information that is intended to be confidential and privileged. If you receive this e-mail and you are not a named addressee you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so is prohibited and may be unlawful. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please delete and otherwise erase it and any attachments from your computer system. Your assistance in correcting this error is appreciated.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.