Executing a Macro in a Stream Driver Job - Parallel Transporter

Teradata® Parallel Transporter Application Programming Interface Programmer Guide - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Parallel Transporter
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2023-11-20
dita:mapPath
haz1691132518981.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
ana1478611373864
lifecycle
latest
Product Category
Teradata Tools and Utilities
  1. Add the EXECUTE statement to a DML group.
    For guidelines, see Stream Driver Macro Support.
  2. Define the schema based on the macro’s parameter list.
  3. Add the DML group and Schema to the Connection object.
  4. Set the DML group containing the EXECUTE statement using the UseDMLGroups function.
  5. 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.
  6. Call the End Acquisition function.
  7. Terminate the Connection object.