Executing a Macro in a Stream Driver Job - Parallel Transporter
Teradata Parallel Transporter Application Programming Interface Programmer Guide
- Product
- Parallel Transporter
- Release Number
- 16.10
- Published
- May 2017
- Language
- English (United States)
- Last Update
- 2018-05-15
- dita:mapPath
- pev1488824663354.ditamap
- dita:ditavalPath
- Audience_PDF_include.ditaval
- dita:id
- B035-2516
- lifecycle
- previous
- Product Category
- Teradata Tools and Utilities
-
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.