|
So, I was handed a project the other day to fix a problem with a program
that gets a "hard halt" (their terminology) when the program encounters a
date with a year > 2039. Since it's been over 15 years since I've last had
to think about this type of problem, I *think* this has to do with the
1940-2039 window for 2-digit years. The fix is to change the edit (TEST
opcode, I'm guessing) so that it doesn't dump on a year > 2039.
The immediate concern is to identify where this error is taking place.
My initial search is to look for TEST opcodes using the 'dtz-formats'
*YMD, *DMY, *MDY, & *JUL. The program has many different 6-digit
date fields, and even the term "next payment date" is ambiguous in
this large 20+ year old program.
Should the above search cover all of the bases? If not, can anyone suggest
what else to look for?
This mailing list archive is Copyright 1997-2026 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.