Static SQL macro execution is associated with a macro cursor using the DECLARE CURSOR (Macro Form) statement.
When you perform a static macro, you must use the EXEC form to distinguish the macro from the dynamic SQL statement EXECUTE.
For more information, see Multiple-Statement Requests.