MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » May 1999

Re: System Date question



fixed

At 09:18 05/20/1999 , Richie wrote: 
>
> A friend of mine is asking me about the behavior of the system date in
> AS/400. They are currently doing integration testing of their remediated
> programs for Y2K compliance.
>  
> This is the scenario:
>  
> While testing, their current date is Jan 1, 2000, then they changed the
> system time to 12:01AM, they checked the date and it is still the same.
> However, upon signing off and then logging on again they noticed that the
> system date is already Jan 2, 2000. Her question is this:  Is this what the
> OS normally should do? or the date should still be Jan 1, 2000? 


Yes. This is correct behavior. The job date is established when the job is
initialized. It does not change (for the duration of the job).  If you need the
current date, you should always retrieve the system date.

Pete Hall
pbhall@execpc.com
http://www.execpc.com/~pbhall
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@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
+---






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact