KCHECK - Check for Statement Keywords

#### Search Results

Search

# KCHECK - Check for Statement Keywords

This profile parameter checks field declarations in a Natural object against a set of critical Natural keywords.

Possible settings | `ON` | The check for keywords is performed. If a variable name defined matches one of these keywords, a syntax error is reported when the Natural object is checked or cataloged.
`OFF` | No check for keywords is performed.
Default setting | `OFF` |
Dynamic specification | yes |
Specification within session | yes |
Applicable statements | `OPTIONS` |
Applicable command | `KCHECK` | Option of system command `COMPOPT`

Notes:

1. The section Performing a Check for Natural Reserved Keywords contains a list of the keywords that are checked by the `KCHECK` parameter.
2. The document Natural Reserved Keywords in the Programming Guide contains an overview of Natural keywords and reserved words.