Logical Expressions - Comparison with Initial Value

f IS [NOT] INITIAL compares f with its initial value, which depends on the type involved (see also CLEAR).

Example

The logical expression below (after IF) is true if the field FLAG contains a value other than a blank (the initial value for type C fields).


DATA FLAG type c.
...
IF ( FLAG IS NOT INITIAL ).
  ...
ENDIF.

Additional help

Checking for the Initial Value