× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Unfortunately, that is what I have been stumbling upon during my research
but I was certain that there was a mode that got around that. I wonder what
I was working on in the past...or maybe it was some weird wishful thinking
dream that I got around it in the past.

I also found humor in the fact that your Wikipedia link discussed the issue
related to purchase orders.

I didn't want to have to deal with temp files / members but that might be my
only work around at this point (or a bunch of arrays to hold the data until
the "commit"). It's not a pretty solution either way.

Thanks everyone for your help on this and Happy New Year.

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Bruce
Vining
Sent: Wednesday, January 1, 2020 2:31 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: SQL and commitment control

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 write-up
is here <https://en.wikipedia.org/wiki/Isolation_(database_systems)> and
removing the possibility of dirty reads essentially requires broader locking
(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).

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com



--
Thanks and Regards,
Bruce
931-505-1915
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.