SQL Command Layout
The following is a FORTRAN example showing the structure you need to imbed
SQL commands in your application.
EXEC SQL BEGIN DECLARE SECTION
.
.
.
(Variable definitions used by SQL go here.)
.
.
.
EXEC SQL END DECLARE SECTION
EXEC SQL INCLUDE SQLCA
EXEC SQL WHENEVER
EXEC SQL CONNECT :USERID IDENTIFIED BY :PASS
.
.
.
EXEC SQL command-name...
.
.
.
EXEC SQL COMMIT WORK RELEASE