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.