|
From: cobol400-l-request@xxxxxxxxxxxx
To: cobol400-l@xxxxxxxxxxxx
Date: 08/06/2016 01:00 PM
Subject: COBOL400-L Digest, Vol 14, Issue 23
Sent by: "COBOL400-L" <cobol400-l-bounces@xxxxxxxxxxxx>
Send COBOL400-L mailing list submissions to
cobol400-l@xxxxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.midrange.com/mailman/listinfo/cobol400-l
or, via email, send a message with subject or body 'help' to
cobol400-l-request@xxxxxxxxxxxx
You can reach the person managing the list at
cobol400-l-owner@xxxxxxxxxxxx
When replying, please edit your Subject line so it is more specific
than "Re: Contents of COBOL400-L digest..."
Today's Topics:
1. Re: user record updates, locking, and logical vs physical
record access (CRPence)
----- Message from CRPence <crpbottle@xxxxxxxxx> on Fri, 05 Aug 2016
16:34:35 -0500 -----
To:
COBOL400-L@xxxxxxxxxxxx
Subject:
Re: [COBOL400-L] user record updates, locking, and logical vs
physical record access
On 05-Aug-2016 14:58 -0500, Stone, Joel wrote:
<<SNIP>> what if the file being updated is a logical view with only
10% of the total fields in the record. In that case, one would have
to work with the PF just in case one of the non-visible fields was
changed by another user? <<SNIP>>
The application can only effect change to the fields visible through
that LF record format. Thus by comparison of the previous record-image
to the current record-image, necessarily inclusive only of the fields
included in the format, the application knows whether the data that is
capable of being changed has not been changed, since, by someone else,
so the update is safe; i.e. same as for the physical record, but the
posited logical record has less data available both to compare and as
able to be changed.
That said, I can imagine that a triggered _before event_ logic for a
secondary changer, could potentially introduce a conflict for the
physical data of a change made by another updater to that same row, but
the business rules implemented by a trigger probably would not generally
be something for which such conflicts should arise; i.e. probably such a
problematic trigger had implemented something that would not properly
qualify as a business-rule, for which the operation must always occur
irrespective the means to effect that I\O request, including that of
logical vs physical.
--
Regards, Chuck
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.