ECO NUMBER: DTRAXPECO02072 ----------- PRODUCT: DIGITAL DATATRIEVE for OVMS Alpha Systems -------- UPDATED PRODUCT: DIGITAL DATATRIEVE for OVMS Alpha Systems 7.2 ---------------- APPRX BLCK SIZE: 18333 ---------------- Kit Name: DTRAXPECO02072 Kit Description: Version(s) of Open VMS to which this kit may be applied: OpenVMS Alpha Version 1.5 or higher Files patched or replaced: o vmi$root:[syslib]dtrshr.exe o dtr$library:dtrlibxxx.olb Problems addressed in this kit o The logical DTR$DATE_INPUT did not handle four digit years correctly. For example, if the logical was set to "MDY" and a date string was input in the following format - 12311999 - a conversion error was reported. This problem has now been fixed, and the correct date (i.e. 31-DEC-1999 in the example) will be returned. o DTR supports several formats of date field on its forms. These include 2-digit and 4-digit year date formats. DTR validates date fields and translates all date fields formats into the standard OpenVMS binary date format which is then passed to the application. In order to successfully translate 2-digit year date fields into their corresponding binary format, DTR has to supply the missing 2 digits of the year (i.e. the century digits). DTR has always used the century digits as specified by the system clock. This is entirely consistent with the way that incompletely specified dates are interpreted in OpenVMS. At the turn of the century, the behavior of DTR as described above will mean that 2-digit year dates from the screen will be interpreted differently. All 2-digit year dates will be processed as being in the 21st century, exactly 100 years later than previously. DTR now uses a so-called sliding window capability for the translation of DTR 2-digit year dates. This enhancement will allow for the modification of the behavior of DTR so that the century digits applied to a 2-digit year date may be based on a customer specified value. On each occasion DTR is required to expand a 2-digit year date it will attempt to translate a logical name called DTR$BASE_YEAR. Valid values for this logical name are 4-digit numbers in the range 1859 - 9900. DTR will search the PROCESS table followed by the GROUP table and finally the SYSTEM table and will use the first valid value found. If no valid translation of the DTR$BASE_YEAR logical is found then the behavior of DTR in processing 2-digit year dates will remain exactly as in the current version of DTR. This 4-digit number resulting from a valid translation of the DTR$BASE_YEAR logical name is used by DTR to define the first year of a 100 year window in which all 2-digit year dates fall. For example a value of 1980 defines a 100 year date window of 01-JAN-1980 to 31-DEC-2079. Customers who wish to have DTR continue to translate 2-digit year dates in the 20th century should set the DTR$BASE_YEAR logical to the value 1900 while customers who wish to have DTR behave exactly as before should not define the logical name. This ECO also includes the following fix from DTRAXPECO01072: o This kit fixes a problem in the Report Writer. When the AT TOP OF REPORT clause was executed, no output for the desired literal occurred. Installation Instructions: Install this kit with the VMSINSTAL utility by logging into the SYSTEM account, and typing the following at the DCL prompt: @SYS$UPDATE:VMSINSTAL DTRAXPECO02072 [location of the saveset] The saveset location may be a tape drive, or a disk directory that contains the kit saveset. Copyright (c) Compaq Computer Corporation 1999. All Rights reserved. This software is proprietary to and embodies the confidential technology of Compaq Computer Corporation. Possession, use, or copying of this software and media is authorized only pursuant to a valid written license from Compaq or an authorized sublicensor. This ECO has not been through an exhaustive field test process. Due to the experimental stage of this ECO/workaround, Compaq makes no representations regarding its use or performance. The customer shall have the sole responsibility for adequate protection and back-up data used in conjunction with this ECO/workaround.