Check the database driver you're using (ODBC, OLE DB or .NET) for the commitment control setting. Try setting it both ways, see if that makes a difference.

Craig Pelkie

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Kirk Yates
Sent: Thursday, June 6, 2024 17:20
To: Midrange-L List <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Trigger / 5250 / .Net

I have a trigger program that writes a single id field to another file if an insert or update is made. Running a simple sql update statement from a 5250 strsql interface and everything works great.

If the same sql command is run from a .net interface, the data in the file is updated, but the trigger program doesn't catch that a change was made.

Library is defined as TEST if that makes any difference. Looked at the data in the file and the record was updated.

What else should I be checking?

Thank you for your help.

--
Kirk Yates

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




As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.