Type
Procedural Command


Purpose
The error messages on command turns on system-generated error messages that have been disabled by the error messages off command.
Once DataEase processes an error messages off command, no system-generated error messages are displayed until it reaches an error messages on command or the end of the whole procedure.

Syntax
error messages on.

Usage
A DQL Procedure can contain any number of error messages off and error messages on commands.
The error messages off and error messages on commands can be used in both Control procedures and Processing procedures.

Example
error messages off.
record entry MEMBERS" .
run procedure "PRINT RESERVATIONS" .
error messages on.
run procedure "UPDATE CRUISES" .
application status records.

This script tells DataEase: (1) Turn off system-generated error messages, (2) display the MEMBERS form so the operator can enter new member records, (3) when the operator finishes entering records, run the PRINT RESERVATIONS procedure, (4) turn on system-generated error messages, (5) run the UPDATE CRUISES procedure, and (6) display the status of the records in the current application.

See also error messages off.