[Info-vax] Does anyone know if the unsupported TBO (time boost utility that "drifts" time forward or backward by adjusting ticklength) was every ported to the Itanium?
Jon Pinkley
jon.pinkley at gmail.com
Mon Nov 2 04:41:05 EST 2020
On Sunday, November 1, 2020 at 9:34:21 AM UTC-5, Stephen Hoffman wrote:
> Here's a potential work-around, hand-crafting your own header:
> https://groups.google.com/d/msg/comp.os.vms/xu_hHbt8_Io/4xQcC-nztiEJ
>
> The following documentation reads more like a change spec than
> documentation, seemingly omits any reference to the paired
> sys$lib_c.tlb file, and somehow neglects to mention how to reference
> the libraries from the compiler:
> https://vmssoftware.com/docs/VSI_PROGRAM_CONCEPTS_VOL_II.pdf#Page=132
> (less-than-preferable page-numbering handling in that PDF file, too.)
>
> If utc.h isn't in the base distro and gets installed from a DECnet-Plus
> kit, either use the hack-around above, or yank the file out of the
> DECnet-Plus kit and reference it directly (or stuff the header into
> your local sys$starlet_c.tlb yourself). If utc.h isn't in
> sys$starlet_c.tlb (or maybe in some other local library) in OpenVMS
> V8.4-2L1 or V8.4-2L2, log a bug with the folks at VSI, and hopefully
> that then get fixed for OpenVMS V9.2, if not sooner. Seems this DECdtss
> code isn't used very often, either.
Thanks, I did a $ product extract file decnet_osi /select=utc.h /source= ...
That worked. I got the compare_events example to compile and link. Changed the #include <utc.h> to #include "utc.h". Get warning for other things, but it runs.
Now, if other things do not work, it is less likely to be due to an error in the utc.h than if I cobbled one together.
It isn't a surprise that the DECdtss code isn't used very often, because DECnet V was never very popular, and if that wasn't installed, then it requires extra work to get the header file, even if the sys$library:dtss$shr.exe is there.
Doesn't solve the TBO problem, but without access to Itanium listings, getting the tick frequency is not an easy task.
After reading more about decdts, it doesn't look like it really handles different timezone rules; it does allow you to specify a tdf, but there can be multiple tz with the same tdf, but different dst rules.
Thanks again. Your links, were helpful.
More information about the Info-vax
mailing list