My 'oldest bug' in a 'the program has not been changed' area was in 2000.

The RPG program was written in the mid-70's at a school district. For
some reason, it did not calculate the number of school days correctly
for the leap year. I was the systems programmer and was called in
because 'the VSE system has a Y2K bug' since the routine had not been
changed since the program was written.

The first thing I checked was the 'year ending with '00' code but I
noticed was that there was no 'year ending in 00' test. :-) So it should
have calculated 2000 as a leap year by it's 'divide by 4' rule.

After looking at the code, I told them it would never calculate any year
as being a leap year. Even when I told them the exact change, they said
it would not fix it but they would do it just to show me. Well, the fix
worked. Research reveled that there had never been a Feb 29 that was an
actual school day since the program was written. It was either on a
weekend or during spring break. So, the failure had never showed in 25
years.

Tony Thigpen

-----Original Message -----
 From: Schuh, Richard
 Sent: 07/24/2010 05:45 PM
> I know the feeling. Just last week, I had to fix a bug in a tool that is 
> frequently used by many users. It had been in the program since it was 
> written in the late 1980s. Since it was a display error that was 
> data-dependant, I am surprised that is had not been noticed earlier.
> 
> Regards, 
> Richard Schuh 
> 
>  
> 
>> -----Original Message-----
>> From: The IBM z/VM Operating System 
>> [mailto:[email protected]] On Behalf Of Tony Thigpen
>> Sent: Saturday, July 24, 2010 1:54 PM
>> To: [email protected]
>> Subject: Re: question on xedit 'help'
>>
>> "xedit . . . (noprof" got me started in the right direction. 
>> I thought maybe it was a z/VM change.
>>
>> Found:
>> 'set synonym help    1 command help'
>> It should have been:
>> 'set synonym help    1 help'
>>
>> I can't remember when I did this it's been so long ago.
>>
>> I have been using this profile for over 22 years. (I carried 
>> it from one job to the next.) Well, maybe it will now work 
>> for another 22 years. :-)
>>
>> Thanks,
>>
>> Tony Thigpen
>>
>> -----Original Message -----
>>  From: Schuh, Richard
>>  Sent: 07/24/2010 03:13 PM
>>> Maybe your xedit profile is getting in the way. Try xedit 
>> fn ft fm (noprof and see if it is still screwed up. It works 
>> as you expected with my profile. 
>>>
>>> Regards,
>>> Richard Schuh
>>>
>>>  
>>>
>>>> -----Original Message-----
>>>> From: The IBM z/VM Operating System
>>>> [mailto:[email protected]] On Behalf Of Tony Thigpen
>>>> Sent: Saturday, July 24, 2010 6:14 AM
>>>> To: [email protected]
>>>> Subject: question on xedit 'help'
>>>>
>>>> When I type 'help' on the command line, I am getting the 
>> "HELP TASK"
>>>> screen. My fuzzy brain says that in the past I would get the "HELP 
>>>> XEDIT MENU" screen since I am in xedit. Also, when I use 'HELP 
>>>> QUERY', I get the "COMMANDS QUERY" screen, not the help for xedit 
>>>> query.
>>>>
>>>> I think I am missing a setting somewhere. Any thoughts?
>>>>
>>>> --
>>>>
>>>> Tony Thigpen
>>>>
>>>
>>>
>>
> 
> 

Reply via email to