Onwarning and Offwarning

Top  Previous  Next

This option alters the way data domain checking is done.  It allows domain errors in data statements that are imported from other systems and reports warnings instead of errors.  Internally data are accepted and stored, even though they are outside the domain.  The option is employed using the syntax

 

$Onwarning

or

$Offwarning

 

The default value is $Offwarning.

Notes:

This switch affects three types of domain error numbers 116, 170 and 171.
This can have serious side affects and one has to exercise great care when using this feature.