Rollback on disconnect when you were missing a COMMIT is expected.

But you shouldn't have a rollback if you correctly issued COMMIT;

when you had `with chg;`

What message was returned when you did the `COMMIT;`?

Charles

On Tue, Jun 16, 2026 at 2:53 PM James H. H. Lampert via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:

On 6/16/26 12:42 PM, Charles Wilt wrote:
all you need to do is add

with chg

to the end of your SQL statement, that will automatically start
commitment control if not already started.

Ok, I tried:
insert into jlib.blobtest1 values(123, get_blob_from_file('/lob1.png'))
with chg;

This left a dangling record lock, and the INSERT rolls back when I
disconnect. I added a commit after it, and the insert still rolls back.

I tried "with rr" instead; this gave a warning message, but it did commit.

--
JHHL


--
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@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



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-2026 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.