Embedded SQL for COBOL
Embedded SQL Statement Syntax for COBOL
This section describes the languageāspecific issues inherent in embedding SQL database and forms statements in a COBOL program. An Embedded SQL database statement has the following general syntax:
[margin] exec sql SQL_statement terminator
The syntax of an embedded SQL/FORMS statement is almost identical:
[margin] exec frs SQL/FORMS_statement terminator
For information on SQL statements, see the SQL Reference Guide. For information on SQL/FORMS statements, see the Forms-based Application Development Tools User Guide.
The following sections describe the various syntactical elements of these statements as implemented in COBOL.
Last modified date: 11/09/2022