× 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.



I don't think NTP changes the system time (QTIME) until V5R3. V5R2 NTP
changes the hardware clock.

> -------- Original Message --------
> Subject: SNTP client: time not changed as requested
> From: "Zvi Kave" <as400@xxxxxxxxxx>
> Date: Wed, November 17, 2004 6:26 am
> To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
> 
> I started NTP client in V5R2.
> 
> My commands are:
> 1.  CHGNTPA <F4> -  NTP definitions + NTP server IP.
> 
> 2.  DSPSYSVAL QTIME  - CURRENT TIME
> 
> 3.  Change UTC offset - 2 hours in winter:
>     CHGSYSVAL QUTCOFFSET  +02:00
> 
> 4. to start NTP client:
>    STRTCPSVR *NTP
> 
> 5.
> . To check NTP log:
>    wrklnk ('/QIBM/USERDATA/OS400/TCPIP/NTP/QTOTnnnnn')
> 
> 6. I saw the following lines:
> 
> TCP9136 SNTP Client started.
> TCP9116 16/11/04 17:41:51 NTP server UTC time is 16/11/04 15:30:16.754.
> TCP9117 16/11/04 17:41:51 Software clock UTC time is 16/11/04 15:30:16.750.
> TCP9119 16/11/04 17:41:51 Software clock set = 1 (0 = not set, 1 = set)
> TCP9116 16/11/04 17:42:52 NTP server UTC time is 16/11/04 15:31:17.431.
> TCP9117 16/11/04 17:42:52 Software clock UTC time is 16/11/04 15:31:17.446.
> TCP9120 16/11/04 17:42:52 Software clock adjusted = 0  (0 = not adjusted, 1
> = adjusted)
> TCP9120 16/11/04 17:42:52 Software clock adjusted = 0  (0 = not adjusted, 1
> = adjusted)
> TCP9116 16/11/04 17:43:57 NTP server UTC time is 16/11/04 15:32:22.883.
> TCP9117 16/11/04 17:43:57 Software clock UTC time is 16/11/04 15:32:22.845.
> TCP9120 16/11/04 17:43:57 Software clock adjusted = 0  (0 = not adjusted, 1
> = adjusted)
> TCP9116 16/11/04 17:44:58 NTP server UTC time is 16/11/04 15:33:23.458.
> TCP9117 16/11/04 17:44:58 Software clock UTC time is 16/11/04 15:33:23.472.
> TCP9120 16/11/04 17:44:58 Software clock adjusted = 0  (0 = not adjusted, 1
> = adjusted)
> TCP9116 16/11/04 17:45:58 NTP server UTC time is 16/11/04 15:34:24.219.
> TCP9117 16/11/04 17:45:58 Software clock UTC time is 16/11/04 15:34:24.231
> 
> Everything seems to be OK, but actually the system time was not changed!!!.
> 
> 
>  Best regards,
> 
> Zvi Kave
> as400@xxxxxxxxxx <mailto:as400@xxxxxxxxxx>
> +972-9-9588860
> 
> 
> --
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.