This illustration shows the following syntax on a horizontal line:
EXEC SQL FETCH
cursor
FOR
:host_integer (on a loop)
:cursor_variable (on a loop)
INTO
:host_variable
:indicator_variable (on a loop)
INDICATOR
(on a loop)
USING DESCRIPTOR
descriptor