Use this command to display or set the High Account Month (HAM) for the running application. The effect of the HAM value is to prevent the application from accepting any transaction having a later date (contained in the built-in attribute ActMth). By default, the value is the year and month at which the application was initiated. Security level is Controller.
The :HAM command has the form:
:HAM [yymm]
Any valid HAM value remains in effect until a new one is specified, or until the system date becomes greater than the current value (in which event its value is increased automatically). The value of the HAM is stored in the Database.
If you allow the HAM to be updated by the system, it will be done automatically every two months.
To set a new High Account Month, enter the :HAM command with a four-digit number (the first two digits being the year and the second two digits the number of the month). For example :HAM 9804 sets the High Account Month to April 1998. If no value is entered, the current value of HAM is displayed.
If you want the HAM to be one month ahead of the Account Month (ACTMTH) at all times, you must update it manually every month.
Refer to :LAM Low Account Month for setting the Low Account Month.
The :HAM value might be less than the :LAM (Low Account Month) value, to allow for change of century.