|
John, Based on what you are saying, I would suggest that you add triggers to your file that prevent "Pgma does very bad things to data". That way you can help them deal with the problem in when it occurs. David Morris >>> jtaylor@rpg2java.com 04/19/02 07:24AM >>> Mike, > John, the message you are sending out on they your own messages, > or are you > just forwarding messages received as the result of an error? If they were > your own you could send the program and library out as part of the message > data. Both. Much of my own code will use the error handler, but I also have to provide for customer written exit programs. In the event of an error, I need to log the offending program. For example: - client writes a custom version of PgmA - client's PgmA is placed higher on the *LIBL that the package version - client's PgmA does very bad things to data - programmer realizes his error, cleans up job logs, then calls support - I spend *hours* trying to figure out what went wrong, based on the false pretense that one of my programs was at fault. That scenario was the driving force for an error handler with custom logging features, but there are other uses once one begins to think about the possibilities. Regards, John Taylor
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.