ENTER statement

The ENTER statement is designed to facilitate the use of more than one source language in the same source program. However, only COBOL is allowed in the source program.

The ENTER statement is syntax checked but has no effect on the execution of the program.

Format

Read syntax diagramSkip visual syntax diagramENTERlanguage-name-1routine-name-1.
language-name-1
A system name that has no defined meaning. It must be either a correctly formed user-defined word or the word "COBOL." At least one character must be alphabetic.
routine-name-1
Must follow the rules for formation of a user-defined word. At least one character must be alphabetic.