Anyone know how synchronize the system clock of the as400 with the PC time.
I have the PC's (Linux and Windows) syncronizeds with the command NET TIME.
There are any equivalence in As400?
Thanks.
Carlos-
I'm running V5R1 on my AS/400 and to the best of my knowledge, the OS does
not have the ability to act as a time SERVER; however, it can act as a time
server CLIENT. On my network I've got a Windows 2000 server that acts as the
network time server--it polls one of the public NIST time servers through my
network's internet connection. Now, since the time on the Windows 2000 is
synchronized with the NIST server, all other clients on my network,
including my AS/400, use it as the network time server. To setup the time
server client on your AS/400 (assuming you're running V5R1), enter the
command CHGNTPA at the command line, press the F4 key, and enter in the IP
address of name of your network's time server along with other details about
how and when to synchronize the time.
You'll need to start the AS/400's time server STRTCPSVR (*NTP), and this
will only have to be done once after the initial configuration (assuming
that when you used the command CHGNTPA you specified that the server would
start when TCP/IP is started, and that TCP/IP is started at IPL).
You also can perform these configurations if you use Operations Navigator,
and under the SERVERs node, select the properties of the NTP server (it may
be referred to as the Time Server--I'm trying to picture this in my mind so
forgive me if I don't know the exact names off the top-of-my-head).
From what I've found, the time synchronization with an NTP server sets the
machine time which is used by applications, programs, and system functions.
It does not change the system value QTIME or any of its associated
components QHOUR, QMINUTE, or QSECOND, nor does it affect the time that's
displayed in the upper-right corner when you display the system status. The
system value needs to be set manually. (If anyone reading this has a method
whereby the system value synchs to the machine clock, please let us know).
Anyway, hope this helps a bit.
Regards,
Richard Huelbig
You also need to ensure you use the QUTCOFFSET to control your daylight
savings time and not adjust the QHOUR value... The NTP server will not start
if the values are outside an acceptable range...
RT
"Richard Huelbig" <hue...@optonline.net> wrote in message
news:NciWa.10897$Wd5.2...@news4.srv.hcvlny.cv.net...
If the link's broken, search this newsgroup on Google for subject
"syncronise".
...and here's the reference to Ignite/400:
http://www.ignite400.org/html/sntp.htm
--Dave
AS/400 can be a NTP client but no server (5.1, perhaps later
included).
If time sync is essential for you, set up a NTP server, connect it to
one of the web time servers and connect all computers to it. This
software is available for Linux and Windows.
A good place for this software would be e.g. a DNS, because all your
computers know it and it has internet connection.
Walter
If you are interested, email me privately and I will provide you with
a save file that will allow you to compile the programs. This
modifies the hardware clock so it avoids the issues of programs and
display stations not seeing the software clock.
"C...@rl.os" <cpe...@wanadoo.es> wrote in message news:<yCdWa.1545$w4.10...@news-reader.eresmas.com>...
have a look at my already posted note in this Newsgroup.
Or, have a look at www.export-ventures.com program MSNTP/400 works
very good.
Erik
On Thu, 31 Jul 2003 20:50:48 +0200, "C...@rl.os" <cpe...@wanadoo.es>
wrote: