|
Ok, before I get too deep into this, I've had a request to make this
change:
1. Add a trigger to a file for when records are added.
2. If after 30 seconds, the record isn't updated (a status type
field), send a message to QSYSOPR
Now, sounds easy enough, but I'm wondering if that 30 second delay
that I'd put in would hold a lock or anything on that record, or cause
any other problems? It's been a while since I did a trigger. :)
What I would do is:
Trigger PGM
store original value from ADD to file
pause(30)
Chain to the file and check that original value <> new value
Thanks!
Brad
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.