|
Pitfalls? - Don't count on the stats file being a 'legal' log. Since ?anyone? can upddta on it, blast some records, and you'll never know. If a legal log is your goal use journalling instead. - It is common to keep the trigger program in the same library as the data for save/restore purposes. While generally most people keep programs in a separate library from data. - Test that the trigger works with the system default library list. Critical only if you want it to work regardless of the updates: . Traditional 5250 program . UPDDTA . Client/Server program . etc This might mean hardcoding some libraries in it. Not the most popular option. Sample code: http://code.midrange.com/index.php?id=90c5ce2821 Rob Berendt
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.