Define dynamic macro execution using the PREPARE statement with the statement string containing an EXEC macro_name statement rather than a single-statement request.
The dynamic request is then associated with a dynamic cursor.
Define dynamic macro execution using the PREPARE statement with the statement string containing an EXEC macro_name statement rather than a single-statement request.
The dynamic request is then associated with a dynamic cursor.