The $END statement is used in conjunction with the $IF statement to control
Micro Focus conditional compilation.
- The whole statement must appear on a single line.
- The innermost $IF statement is terminated. The now active $IF condition is considered. If the active condition is true the
source lines following the $END are processed. If the condition is false, COBOL source lines are ignored until the next
Micro Focus conditional compilation line is encountered.