SET EXTENDED CHECK

Short Reference

Syntax

SET EXTENDED CHECK {ON|OFF}.

Effect:

This statement uses the addition OFF to deactivate the extended programcheck for the following statements, and uses the addition ON to reactivate it. A deactivated extended program check can be reactivated within the same program. The extended program reports a statement SET EXTENDED CHECK OFF without the statement SET EXTENDED CHECK ON and the superfluous statements SET EXTENDED CHECK ON. By default, the extended program check is switched on.

Notes:

Example

The statement SELECT SINGLE reads a single line from the database table TDOKUIMGR. Although this table has several key fields, the entry in the NODE_ID column of the WHERE condition is unique. The warning in the extended program check that the specified key may not be unique is therefore deactivated.

...
SET EXTENDED CHECK OFF.
SELECT SINGLE ref_object
       FROM   tdokuimgr
       INTO   docu_object
       WHERE  node_id = node_key.
SET EXTENDED CHECK ON.
...