4. Any ordering that is done using a date, especially those using the function DTOC() should be examined and tested. DTOC() has been found to be problematic in certain cases. DTOS()
has been found to be more reliable for any ordering functions since it works consistently and independent of the "SET CENTURY" and "SET DATE" settings. DTOC() could be used reliably if the optional 2nd
parameter (1) is used. For example, use DTOC(mydate,1) instead of DTOC(mydate). All programs (see item 3) which contain "ORDER BY", "SORT", or
"INDEX ON" should be examined to determine millennium compliance. All dbfs should also be examined to determine how their tags are defined. |