|
My favourite example of this (from real-life code): CALL RATEPGM MONMSG (CPF0000 RPG0000) CLRPFM RATEINPUT When RATEPGM doesn't work because of a library list problem, the CL program merrily keeps right on going and clears the input file. Without telling anybody that a problem occurred. Now we have no input data and no output data, either. Buck Calabro Aptis; Albany, NY mailto:Buck.Calabro@aptissoftware.com > -----Original Message----- > From: Peter Dow > Sent: Tuesday, October 05, 1999 5:54 PM > To: MIDRANGE-L@midrange.com > Subject: Re: global MONMSG to catch everything > > > BUT PLEASE BE CAREFULL! What you are talking about doing is VERY > > dangerous! And unfortunately, the shops that have the biggest > > problems with unhandled escape messages are then ones that SHOULD NOT > > USE THIS TECHNIQUE! This is because if you can't trust your > > programmers (or vendor) to produce software that runs clean, how can > > you trust them to SAFELY implement something like a global MONMSG > > CPF0000???? > > Amen! It's been my experience that this technique usually ends up covering > up errors and making it very difficult to correct a problem that could be > corrected on the spot, rather than having to figure out first where the > error actually occurred, by which time it is no longer possible to get a > program dump which is usually invaluable in finding decimal data errors, > and > second, figuring out what's required to rerun the job. > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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 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.