Joe Howell ([log in to unmask]) wrote:
: Recently I retrieved the SETDATE utility from the HP web site to assist in
: initial testing on a Y2K remediation project . No problem with the
: install, etc. and when I ran it per the instructions it did appear to
: change the date.
: I wrote a small test COBOL program to verify the functionality. The
: results of this test are as follows:
[snip]
: Is there a "Y2K" complient version of this utility, specifically one which
: will feed the "fake date" to the MOVE FUNCTION CURRENT-DATE utility? Any
: input is appreciated.
The CURRENT-DATE function of COBOL II/iX does not use the CALENDAR
intrinsic, so it is not affected by SETDATE.
I haven't used SETDATE, but I suspect it also wouldn't work with
the C/iX or POSIX/iX date and time functions, nor with the TIME
function in FORTRAN 77/iX.
Walter Murray
Hewlett-Packard
Support Technology Lab