|
From: smith5646midrange@xxxxxxxxxresearch
To: "'Midrange Systems Technical Discussion'" <midrange-
l@xxxxxxxxxxxxxxxxxx>,
Date: 01/01/2020 01:44 PM
Subject: [EXTERNAL] RE: SQL and commitment control
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>
Unfortunately, that is what I have been stumbling upon during my
but I was certain that there was a mode that got around that. I wonderwhat
I was working on in the past...or maybe it was some weird wishfulthinking
dream that I got around it in the past.issue
I also found humor in the fact that your Wikipedia link discussed the
related to purchase orders.be my
I didn't want to have to deal with temp files / members but that might
only work around at this point (or a bunch of arrays to hold the datauntil
the "commit"). It's not a pretty solution either way.Bruce
Thanks everyone for your help on this and Happy New Year.
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Vining<midrange-l@xxxxxxxxxxxxxxxxxx>
Sent: Wednesday, January 1, 2020 2:31 PM
To: Midrange Systems Technical Discussion
Subject: Re: SQL and commitment controlwrite-up
You've got a problem and one that is not unique to the i. Google 'dirty
read' and you'll find this type of exposure exists everywhere. One
is here <https://urldefense.proofpoint.com/v2/url?u=https-3A__en.wikipedia.org_wiki_Isolation-5F-28database-5Fsystems-29&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=oCmVbiwufH6yM8U29GriOcB5LKDoEG8y1HZD-01RVtc&m=oTb8KG3IYWxAKjmeOOIsHY3phvN3faMc1Bg3VCHfXII&s=xojcSq8sAbSxpJHkjsbkkqAbs5tNIpem1yexGPRDjFs&e=
lockingandremoving the possibility of dirty reads essentially requires broader
(delays, timeouts,...).
On Wed, Jan 1, 2020 at 2:20 PM <smith5646midrange@xxxxxxxxx> wrote:
That caused the STRSQL session to hang and eventually abend with a
record in use.
This can't be the answer because most of the other programs using the
files will not have any form of commitment control. I am only adding
it to this program so the users can cancel their changes and rollback.
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Sam_L
Sent: Wednesday, January 1, 2020 2:15 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: SQL and commitment control
It may depend on how the interactive SQL is started, Does STRSQL
COMMIT(*CS)
make any difference?
Sam
On 1/1/2020 12:31 PM,
smith5646midrange@xxxxxxxxx wrote:
I have an RPGLE program that I adding commitment control. When I
insert records to my file but have not yet committed them, I can go
to a second session and using interactive SQL, I can see them. When
I do a rollback in the program, they disappear (as I would expect).
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.