1827810 Members
2026 Online
109969 Solutions
New Discussion

UTC$TIME_SETUP

 
SOLVED
Go to solution
Hejib
Frequent Advisor

UTC$TIME_SETUP

Recently we had to reboot an ES80. And when it came back the sys$timezone_differential was incorrect. Before the reboot we had run utc$time_setup to set timezone rule correctly and it was all ok. Is there somewhere else it also needs setting other than running utc$time_setup.
We are on OpenVMS 7.3-1. TCPIP V5.4 ECO 5.
Current rule is SYS$TIMEZONE_RULE = GMT0.

Please can someone help.
5 REPLIES 5
Volker Halle
Honored Contributor

Re: UTC$TIME_SETUP

Graham,

@SYS$MANAGER:UTC$TIME_SETUP is the correct procedure to be used for all kind of time/timezone related changes on OpenVMS. It should take care of everything.

If creates SYS$STARTUP:*$UTC_STARTUP.COM (* = either TDF or DTSS). Look in the last line of that file for the timezone info.

Check with $ SHOW LOG *TIME* if everything looks o.k.

There are a couple of TDF related patches available for OpenVMS V7.3-1 (most recent one is VMS731_TDF-V0500).

Volker.
Arch_Muthiah
Honored Contributor
Solution

Re: UTC$TIME_SETUP

Graham,

I don't know whether you have VMS731_TDF-V0200 ECO kit installed in your system....
This solve your problem.

http://ftp.uma.es/Vms/parches/v7.3-1/VMS731_TDF-V0200.txt...this ECO summary explains about your problem....title under "Timezone differential factor not preserved across system reboots"

UTC$TIME_SETUP.COM, stores the differential factor in SYS$TIMEZONE.DAT. During a system boot a new version of SYS$TIMEZONE.DAT is being created and the new version contains the timezone's default differential factor of "0", overriding the content of the previous version.

You can check this after running @SYS$MANAGER:UTC$TIME_SETUP
$ SHOW LOG *TIMEZONE*
"SYS$TIMEZONE_DIFFERENTIAL" = "some value"

now
$Reboot

and check
$ SHOW LOG *TIMEZONE*
"SYS$TIMEZONE_DIFFERENTIAL" will be set to "0".

So install this ECO patch.

Archunan
Archunan
Regards
Archie
Hejib
Frequent Advisor

Re: UTC$TIME_SETUP

Thanks Volker,

It all looks correct now. The last line is $ DTSS$SET_TIMEZONE INITIALIZE "GMT0".
The system crashed and SYS$TIMEZONE_DIFFERENTIAL came up with 3600.

I was checking previous versions of tdf$utc_startup.com and they all have "GMT0".

Is it tcpip$startup that runs this or is it somehing else.
Thanks for your help
Hejib
Frequent Advisor

Re: UTC$TIME_SETUP

Thanks Archunan.

I checkout the patch
Hejib
Frequent Advisor

Re: UTC$TIME_SETUP

Thanks guys. I will install the tdf patch.