Context-sensitive words

A context-sensitive word is a COBOL word that is reserved only in the general formats in which it is specified. If a context-sensitive word is used where the context-sensitive word is permitted in the general format, the word is treated as a keyword; otherwise it is treated as a user-defined word.

Table 1. Context-sensitive words
Context-sensitive word Language construct or context
CYCLE EXIT statement
INITIALIZED ALLOCATE statement
NAME XML GENERATE statement
PARAGRAPH EXIT statement
RECURSIVE PROGRAM-ID paragraph
YYYYDDD ACCEPT statement
YYYYMMDD ACCEPT statement

Related references  
User-defined words

Reserved words