Most MultiValue applications ported to Caché should consider including the following in their login procs.
Two-Digit Years Date Conversion
will set the conversion of two-digit years to four-digit years on Caché to be identical to that on most other MultiValue systems. The value 1930 sets the beginning of a hundred-year range (19302029) that is used for two-digit year conversion. The Caché default is 1900, which means a year of 08 will be interpreted as 1908.
The emulation setting for an account is persistent. This means that if the emulation is changed via the CEMU
command during a session the new setting will remain in effect until it is changed. To assure that sessions always start with a defined emulations, include the verb
If the application is using a non-American date format, consider adding the verb, DATE.FORMAT
, as in