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


  • Subject: Re: Timestamp when a record is updated...
  • From: "End of the Trail" <endofthetrail@xxxxxxxxxxx>
  • Date: Thu, 19 Aug 1999 22:52:28 -0500

>Joe Teff:
>A trigger is fired by the database itself and not by any application.
>If the database changes, the trigger fires - no exceptions.

That is interesting because my experience and the Ibm blurp found in small
print says DFU does not change the attirbutes of a file.

After setting up a trigger on a file and changing the data in it with DFU,
the trigger never fired.  I spent the afternoon double checking my program,
the file, the data, and the trigger.  A co-worker, interested and helping
research my trouble, stumbled upon a one sentence answer in one of the IBM
supplied text.  I run the same test using the same program, data, and
trigger... except made the change using DBU.  Everything ran like a charm.
I will double check and run it again using DFU.  BUT.... I will be surprize
if it work....  didn't before!

Eurrat

-----Original Message-----
From: Joe Teff <jteff19@idt.net>
To: RPG400-L@midrange.com <RPG400-L@midrange.com>
Date: Thursday, August 19, 1999 12:03 PM
Subject: Re: Timestamp when a record is updated...


>>I do not think that DFU will set off a trigger.  DBU will! and most
>>everything else that touches the file.
>
>A trigger is fired by the database itself and not by any application.
>If the database changes, the trigger fires - no exceptions.
>
>Joe Teff
>
>
>+---
>| This is the RPG/400 Mailing List!
>| To submit a new message, send your mail to RPG400-L@midrange.com.
>| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
>| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
>| Questions should be directed to the list owner/operator:
david@midrange.com
>+---

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.