DataConnector Operator Events - Parallel Transporter

Teradata® Parallel Transporter Reference

Product
Parallel Transporter
Release Number
17.00
Published
November 2020
Language
English (United States)
Last Update
2022-02-03
dita:mapPath
ric1544831938741.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2436
lifecycle
previous
Product Category
Teradata Tools and Utilities

The following table lists the event codes and describes the data that the DataConnector operator passes to the notify exit routine for each event. The information in this table is also sent to the system log.

To support future enhancements, always verify that your notify exit routines ignore invalid or undefined event codes, and that they do not cause the operator to terminate abnormally.
Event Code Notification Level Event Description
Event Low Med High
0 Initialize Yes Yes Yes Signifies successful processing of the notify feature.
  • Operator handle - 4-byte unsigned integer
  • Operator number - 4-byte unsigned integer
  • Operator count - 4-byte unsigned integer
  • Utility ID - 4 byte unsigned integer
  • Task ID - 32-character (maximum) array
  • Time stamp - 26-character (fixed size) array with the format YYYY-MM-DDbHH:MM:SS.SSSSSS

The following offset fields contain the byte offsets to data items in the event record that are null terminated strings. Given the address of the event record, the address of each data item's string can be obtained from its offset.

  • Job ID offset - 4-byte unsigned integer
  • Version ID offset - 4-byte unsigned integer
  • Utility name offset - 4-byte unsigned integer
  • User string offset - 4-byte unsigned integer
1 Directory Scan Complete No No Yes Signifies successful processing of a scan for file names in a directory.
  • Operator number - 4-byte unsigned integer
  • Task name - 32-character (maximum) array
  • File count - 4-byte unsigned integer
  • Time stamp - 26-character (fixed size) array with the format YYYY-MM-DDbHH:MM:SS.SSSSSS
The following offset fields contain the byte offsets to data items in the event record that are null terminated strings. Given the address of the event record, the address of such a string can be obtained from the offset.
  • Script name offset - 4-byte unsigned integer
  • Job name offset - 4-byte unsigned integer
  • Job ID offset - 4-byte unsigned integer
  • File list offset - 4-byte unsigned integer (Note: there are “File Count” NULL terminated file name strings arranged end-to-end in the file list)
2 File Read Complete No No Yes Signifies successful processing of a file in the file list.
  • Operator number - 4-byte unsigned integer
  • Task ID - 32-character (maximum) array
  • Record count - 4-byte unsigned integer
  • File size - 4-byte unsigned integer
The following offset fields contain the byte offsets to data items in the event record that are null terminated strings. Given the address of the event record, the address of such a string can be obtained from the offset.
  • Script name offset - 4-byte unsigned integer
  • Job name offset - 4-byte unsigned integer
  • Job ID offset - 4-byte unsigned integer
  • File name offset - 4-byte unsigned integer
3 Checkpoint No No Yes Signifies successful processing of a checkpoint.
  • Operator number - 4-byte unsigned integer
  • Task ID - 32-character (maximum) array
The following offset fields contain the byte offsets to data items in the event record that are null terminated strings. Given the address of the event record, the address of such a string can be obtained from the offset.
  • Script name offset - 4-byte unsigned integer
  • Job name offset - 4-byte unsigned integer
  • Job ID offset - 4-byte unsigned integer
4 Terminate Yes Yes Yes Signifies successful termination of the notify feature.
  • Operator number - 4-byte unsigned integer
  • Task ID - 32-character (maximum) array
  • Return code - 4-byte unsigned integer
  • Time stamp - 26-character (fixed size) array with the format YYYY-MM-DDbHH:MM:SS.SSSSSS