Terminator
The terminator for C is the semicolon (;). The following example shows a select statement embedded in a C program:
exec sql select ename
into :namevar
from employee
where eno = :numvar;
Do not follow an embedded statement on the same line with a C statement or another embedded statement. This causes preprocessor syntax errors on the second statement. Use only comments and white space (blanks and tabs) after the C terminator to the end of the line.
Last modified date: 08/14/2024