> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jim Blalock
> Sent: Wednesday, June 15, 2005 1:39 PM
> To: [email protected]
> Subject: Sync A z/OS Clock To An SNTP Time Server?
> 
> 
> Hi folks,
> 
> I have been asked to look into some sort of automated way to 
> sync a z/OS
> clock from Internet time servers.  Syncing either local time 
> (offset) or
> the TOD clock (GMT) will be adequate.  We are z/OS 1.4, 
> single image, no
> sysplex timer.
> 
> I spent some time looking into the SNTPD daemon that came out 
> with z/OS
> 1.4.  SNTPD only supports being a stratum 1 server (where 
> stratum 0 is a
> time reference like an atomic clock or a sysplex timer).  
> Nowhere does the
> (scant) doc say that SNTPD syncs the z/OS clock:  it sounds like IBM
> assumes you have a big studly 'plex and the sysplex timer 
> support takes
> care of your clock for you.  So, this version of SNTPD looks 
> like a dead end.
> 
> If I were asked to write one of these, I know how I'd try to 
> do it;  it
> should be easy.  There are tons of little freebie time 
> syncers available
> for Windows;  surely there's something for big computers too?
> 
> -- Jim Blalock
>      z/OS Support, Clemson University
>      (864) 656-3680
>      [EMAIL PROTECTED]

If doing a periodic "T CLOCK=hh.mm.ss" is sufficient, then I'd cheat.
I'd have a PC which is running a TN3270E emulator. This emulator would
connect to z/OS as a console (Visara, 2074, ICC, or SMCS console). Have
this PC sync its clock via the Internet. Have this PC run a script
periodically which issues the "T CLOCK=hh.mm.ss".

If you don't want a PC with a console, use a PC that somehow does the
same thing. But you will need a PC somehow telling something on z/OS to
issue the above command.

There is __no__ way to update the TOD clock other than via an ETR.

--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to