|
|
DATEDIFF intrinsics are fixed,
kinda
HP has applied a workaround to
repair the HPDATEDIFF intrinsics which were broken as recently as
PowerPatch 5 of MPE/iX 5.5. The intrinsics will work properly in MPE/iX
6.0, said HP lab experts, but only if you initialize the status parameter
to 0 before calling the intrinsics. HP intends to deliver a complete fix
for the problem in MPE/iX 6.0 PowerPatch 1, expected in early spring of
1999, and before the 6.0 PowerPatch 1 as a standalone patch.
HP considers the intrinsics
workable with the status parameter line added, but some developers note
that programmers have never needed to add such a line while working in C.
HPDATEDIFF, if you havent used it yet, determines the number of days
that separate two given dates just the sort of thing that aging
analysis applications might use. A more common use, and one that may be on
your mind right now, is using it to validate and covert two-digit years to
four-digit years before computing the difference. But perhaps all your Y2K
work is done by now.
Copyright 1998 The 3000
NewsWire. All rights reserved |
|