This illustration shows the following syntax on a horizontal line:

EXEC SQL ALLOCATE :cursor_variable