Version 6.3.8 für Windows
 —  Parameter-Referenz  —

MAXYEAR - Maximum Year for Date/Time Values

This Natural profile parameter sets the maximum value for the year part of date and time values that can be entered as constants or as terminal input.

Possible settings 2699 The maximum year that can be entered is 2699; that is, the maximum date value that can be entered is 2699-12-31.
9999 The maximum year that can be entered is 9999; that is, the maximum date value that can be entered is 9999-12-31.
Default setting 2699  
Dynamic specification yes  
Specification within session no  

MAXYEAR=9999 changes the maximum date value that can be entered from 2699-12-31 to 9999-12-31.

Anmerkung:
Before setting the value for MAXYEAR to "9999", you should carefully check your application for arithmetic operations or assignments of date or time values to fields that have data formats other than date or time, and perform the necessary changes. Otherwise, unexpected overflows leading to Natural errors at execution time may occur. For example, you should check for

The use of the Natural Engineer is recommended to check your application.

The setting of MAXYEAR affects

You should ensure that the MAXYEAR settings are the same for

See also:

Seitenanfang