From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,b62e51b446f067c0 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,b62e51b446f067c0 X-Google-Attributes: gid1164f8,public From: "Neil Rieck" Subject: Re: UTC and OpenVMS Date: 1999/10/09 Message-ID: <_bGL3.3108$Jp4.5834@news20.bellglobal.com>#1/1 X-Deja-AN: 534660980 References: X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Trace: news20.bellglobal.com 939470714 216.208.52.125 (Sat, 09 Oct 1999 08:05:14 EDT) Organization: Sympatico X-MSMail-Priority: Normal NNTP-Posting-Date: Sat, 09 Oct 1999 08:05:14 EDT Newsgroups: comp.os.vms,comp.sys.dec This is a follow up to my post yesterday. (UTC and OpenVMS 7.2) After a bit more digging I've come up with the following UTC related details. 1. If you want to see Compaq's official (but foggy) view of UTC, then check out the online system manager's manual at URL http://www.openvms.digital.com:8000/72final/6017/6017pro_016.html#set_time_s ec 2. My current employer requires me to use VAX-BASIC. Since that language had limited internal TIME STAMP support I always call the following two OpenVMS system services from within VAX-BASIC: SYS$ASCTIM SYS$BINTIM Compaq has added 2 new alternate system services that incorporate UTC into their conversions called SYS$ASCUTC and SYS$BINUTC. (there are also many others like SYS$BINUTC, SYS$GETUTC, SYS$NUMUTC, SYS$TIMCON etc.) For more info start checking from URL http://www.openvms.digital.com:8000/72final/4527/4527pro_003.html#index_x_56 3. Compaq refers to a program called SYS$EXAMPLES:DAYLIGHT_SAVINGS.COM which should be run twice a year to adjust programs that require these changes (specifically, any programs that call date + time functions in C-RTL and any POSIX compliant programs). They also refer the system manager to the following files in SYS$MANAGER which are: UTC$CONFIGURE_TDF.COM UTC$TIME_SETUP.COM UTC$TIMEZONE_SETUP.COM 4. I can't find any UTC or TIME ZONE support in DCL's lexical library (specifically F$CVTIME and F$TIME). Compaq may not wish to open the door to the possibility of queuing batch jobs with a UTC based time stamp. However, I can think of a couple of reasons why you might wish to do this. NOTE: this might be one the reasons why UNIX seems ahead of OpenVMS in the UTC area; cron jobs just aren't as robust as the batch processing found in OpenVMS. I'm still left with my original question which is "does anybody know whether Compaq has any plans to build more UTC related time into OpenVMS?" (I'm specifically thinking about displaying the TIME ZONE in directory listings etc.) Neil Rieck Kitchener/Waterloo/Cambridge, Ontario, Canada. http://www3.sympatico.ca/n.rieck/ Neil Rieck wrote in message news:xLjL3.1547$Jp4.1507@news20.bellglobal.com... > As I currently understand UTC (Coordinated Universal Time), in an ideal > world all machines (networks, satellites, computers and their file systems, > etc.) would be set to the same world clock. Computers would not change their > clocks when moving to or from daylight savings time. Programs displaying > time to a local user would read a local flag and then present the internal > time (or file "time stamp") in an external local format. > > Most UNIX systems currently do not need their clocks changed twice a year > but the latest version of OpenVMS (7.2) still does. Does anyone know whether > Compaq has and plans to build this feature into OpenVMS? > > p.s. I'm aware that there is limited time zone support built into VMS 7.2 > but apparently this only supports the "C" run-time library. > > Neil Rieck > Kitchener/Waterloo/Cambridge, > Ontario, Canada. > http://www3.sympatico.ca/n.rieck/ > > >