OS2World OLD-STATIC-BACKUP Forum

OS/2 - Technical => Applications => Topic started by: rlcrockett on 2010.01.02, 03:10:17

Title: OS/2 Scheduling and problems in 2010
Post by: rlcrockett on 2010.01.02, 03:10:17
I have an old application, written back in 1996 on Warp, that I think uses the OS/2 scheduler to schedule jobs.  It won't schedule jobs for a 2010 date.  I can set the system date to 12/31/09 and it will schedule a job for say 5am on 12/31/09.  When that job is done, the it schedules another one for the same date.  If the machine is sitting on 1/1/10, then it will not schedule anything.

Anyone know of any known problems with the year 2010 using Warp.
Title: Re: OS/2 Scheduling and problems in 2010
Post by: mobybrick on 2010.01.02, 03:41:47
Can you be specific? Which scheduler? OS/2 Warp did not (AFAICR) have a scheduler out of the box - only the server versions did.

What version are you using, and which scheduler?

Moby
Title: Re: OS/2 Scheduling and problems in 2010
Post by: rlcrockett on 2010.01.02, 05:15:06
I am just assuming that the application is using an OS scheduler.
Title: Re: OS/2 Scheduling and problems in 2010
Post by: RobertM on 2010.01.02, 05:26:34
Quote from: rlcrockett on 2010.01.02, 05:15:06
I am just assuming that the application is using an OS scheduler.

Most likely, it is using a background process that is querying the date/time or pausing a predetermined length of time based on the interval to the next event.

There was a scheduling program from a while ago that had some updates for Y2K to solve some issues... I forget which one. But instead of me guessing, it may be helpful if you tell us what piece of software it is.

Best,
Robert
Title: Re: OS/2 Scheduling and problems in 2010
Post by: rlcrockett on 2010.01.02, 05:33:53
Sorry, the software is from a company called Edify.  Interactive Voice Response software.  Not sure if that helps, but would appreciate any guidance that you can offer.
Title: Re: OS/2 Scheduling and problems in 2010
Post by: RobertM on 2010.01.02, 05:44:03
Quote from: rlcrockett on 2010.01.02, 05:33:53
Sorry, the software is from a company called Edify.  Interactive Voice Response software.  Not sure if that helps, but would appreciate any guidance that you can offer.

Cannot find a reference to any software of that name by them.

When you schedule dates (or when it shows them), does it show 2 digit or 4 digit years? If it shows two digit years, it is possible that something in the code is hard-coded to append "20" to 00-09 years, leaving all others handled as 20th century years. If that's the case, it would require an update to the program to fix it, or someone pretty decently versed in "hacking" the code to change the "changeover" trigger value from "09" to something higher.

Best,
Robert
Title: Re: OS/2 Scheduling and problems in 2010
Post by: rlcrockett on 2010.01.02, 05:54:18
When scheduling jobs I just say I want it to run daily at a certain time.  It determines actual date each time it schedules the next run.

Software is IVR software or in Edify's terminology - Electronic Workforce.

Thanks
Title: Re: OS/2 Scheduling and problems in 2010
Post by: RobertM on 2010.01.02, 06:01:49
Quote from: RobertM on 2010.01.02, 05:44:03
When you schedule dates (or when it shows them), does it show 2 digit or 4 digit years?
Title: Re: OS/2 Scheduling and problems in 2010
Post by: RobertM on 2010.01.02, 06:07:43
I've found links to info on old releases, but nothing recent since they moved to NT and seemingly dropped Unix and OS/2. Will keep digging.

What version are you running? That may help in my search as maybe I can find a reference to a newer one and check to see if there are fixes to it that address this issue.
Title: Re: OS/2 Scheduling and problems in 2010
Post by: RobertM on 2010.01.02, 06:11:55
I also have contact information for one of the programmers from Edify, if you think that would help. Perhaps he has a copy of a newer version that he may be able to provide you. Electronic Workforce 4.3 for OS/2 seems to be the last version I can find. If your version is 1996 or earlier, I think it may turn out to be an earlier one.

I can be reached on AIM (look for the icon under my profile pic) or Google Chat at (Robert.Mauro) (no parenthesis) if you want his contact information.

Best,
Robert
Title: Re: OS/2 Scheduling and problems in 2010
Post by: rlcrockett on 2010.01.02, 06:15:03
The last version for OS/2 was 4.3.  It is not supported, of course, so no newer versions without going to Windows Server 2003.  Client is not looking to upgrade at this point.
Title: Re: OS/2 Scheduling and problems in 2010
Post by: Fahrvenugen on 2010.01.03, 05:42:42
My guess from reading this thread is there's something in that scheduler which isn't working properly with 2010, *or* you havn't applied fixpaks to OS/2. 

If you're running plain old Warp 4 without the latest fixpaks, adding Fixpak 15 (the latest one under public availability from IBM)  might solve the problem.

At a command prompt do a ver /r and see what version you're running at.  If you're Version 4.50 then you should be okay on that front.

Otherwise it is likely to be a scheduler issue.  What types of jobs is the scheduler running?  Is it just running batch (.cmd) jobs, firing applications, or what?

If it is just running cmd files or firing apps, then I'd suggest replacing the scheduler with a different scheduler.  I'm not sure how you'd do this in your application, but you might be able to disable that scheduler in the app and run something separate.  I've had good luck with the old IBM EWS Schedule, I've got it running on several machines and havn't had any year 2010 issues.  You can find it on Hobbes at:

http://hobbes.nmsu.edu/h-search.php?sh=1&button=Search&key=schedule.zip&stype=all&sort=type_name&dir=%2F

There's also other schedulers at:

http://hobbes.nmsu.edu/h-browse.php?dir=/pub/os2/util/schedule

Hope this helps!