COBOL program uses Embedded SQL statements. SQL statement within a program is called an Embedded SQL.

How to code Embedded SQL :

– Start each SQL statement with EXEC SQL and end with END-EXEC.
– Code the lines of the SQL statement in columns 12 through 72.
– When one SQL statement immediately follows another, always code a period after the
first statement.
– Do not code SQL statements in a COBOL copy member.