Data Validation

ACUCOBOL-GT includes several mechanisms that instruct the runtime to perform specific types of validation on user supplied data. In instances where an input field is marked for validation, the runtime typically performs data validation when the user attempts to leave the data entry field. Data validation mechanisms include:

Although validation is usually performed when the user attempts to leave the field, this is not always the case. Validation is not performed when the ACCEPT terminates as a result of the following:

The special exceptions noted above (CMD-GOTO, CMD-TABCHANGED, and the arrow keys) are treated as normal termination with regards to validation (they trigger validation), but they also generate their usual exception conditions.