× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Bugger. I intended to post this on the RPG list. I guess the Y2K analysis
tool question is appropriate for the midrange list, so feel free to answer
that one here. Otherwise, RPG discussion should be kept to the identical
post in the RPG list.

Thanks,
- Dan

On Wed, Apr 22, 2015 at 12:01 PM, Dan <dan27649@xxxxxxxxx> wrote:

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.

I do not have an error message or a dump to work with. Not even actual
data. All I have is that the "program gave a hard halt when the next
payment date = 2040-06-17". (BTW, the lack of actual errors/dumps is
something I intend to address in our next programming team meeting. This
is, apparently, a common scenario for fix projects. I'm new here, so I
need to tread carefully.)

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?

Are there still any free Y2K analysis tools available? In researching
this project, I was astounded by the number of 6-digit dates that pervade
not only the files used in this program, but throughout the system.

- Dan


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.