|
Dave Mahadevan wrote: >Although I used M1-M9 MR (still do for quick & dirty matching), I never >understood >Halt indicators (used it a few times but they were more pain than anything). I >guess it is equivalent to the G reply on some of those RPG errors (fouls up >more >than helps). Sometimes when I'm writing a program I will check for an error condition and think, "Man, if this error ever occurs it would be so *bad* that I just want the program to bomb. An example of this happened today. I was writing a program which reads the payroll master file, and does a chain to the rate history file. If the chain to the rate file is unsuccessful, that would be bad. Real bad. An employee without an hourly rate of pay? Ouch! So if that occurs, blow up. I do a SETON H1 and then a RETRN. Program bombs, operator on duty pages the person on call. :-) Terry Herrin Sr. Programmer/Analyst New Hanover Regional Medical Center +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@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.