-
Add the EXECUTE statement to a DML group.
For guidelines, see Stream Driver Macro Support.
- Define the schema based on the macro’s parameter list.
- Add the DML group and Schema to the Connection object.
- Set the DML group containing the EXECUTE statement using the UseDMLGroups function.
-
Call the PutRow function.
The row data provided to PutRow will be used to fill out the macro’s parameter list and the macro will be executed.
- Call the End Acquisition function.
- Terminate the Connection object.