|
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
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.