Re: BLOBs

Charles Wilt <[email protected]> Tue, 16 Jun 2026 14:57:41 -0600
Newsgroups gmane.comp.hardware.ibm.midrange
Message-ID <CAJ=Tnc6VZceCEt4sTbMh8RYGmm=jY6Gr6cqLb9E4tQssFny9RQ@mail.gmail.com>
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 <
[email protected]> 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: [email protected]
> To subscribe, unsubscribe, or change list options,
> visit: https://lists.midrange.com/mailman/listinfo/midrange-l
> or email: [email protected]
> Before posting, please take a moment to review the archives
> at https://archive.midrange.com/midrange-l.
>
> Please contact [email protected] for any subscription related
> questions.
>
>
-- 
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact [email protected] for any subscription related questions.