Static SQL macro execution is associated with a macro cursor using the macro form of the DECLARE CURSOR statement.
When you perform a static macro, you must use the EXEC form to distinguish it from the dynamic SQL statement EXECUTE.
Static SQL macro execution is associated with a macro cursor using the macro form of the DECLARE CURSOR statement.
When you perform a static macro, you must use the EXEC form to distinguish it from the dynamic SQL statement EXECUTE.