ORA-34636
(MXSQL03) The format of the SQL FETCH command is:
SQL FETCH cursor-name [LOOP [count]] INTO :host-var [:host-var ...] [THEN filereadactions]
SQL FETCH cursor-name [LOOP [count]] INTO :host-var [:host-var ...] [THEN filereadactions]