|
On Thursday 14 August 2003 16:39, Denis Robitaille wrote: > Hello all, > > One of our programmers asked me the following: > > Can we prevent a user from answering an error message. Example: the > user calls PGMA that call PGMB but there is a level check error. We > want the user to be unable to cancel the program so that the IT support > personel can do theire job better (like look at the call stack, list of > open files ...). > > If someone can point me in the right direction (like where in the > information center or IBM manual information regarding this might be > found), I would apreciate. Denis Hopefully exit points as mentioned by Bruce will get you what you need. In the meantime, and for the specific example you mention, you might like to take some preemptive action against the dreaded CPF4131 level check error. I have a CHKLVLCHK command that attempts to spot if a program (or programs) could fail due to missing or mismatched referenced objects. Details & code download from http://www.dbg400.net/chklvls.html Regards, Martin -- martin@xxxxxxxxxx AIM/Gaim: DBG400dotNet http://www.dbg400.net /"\ DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open \ / Source free test environment tools and others (file/spool/misc) X Debian GNU/Linux | ASCII Ribbon Campaign against HTML mail & news / \
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.