Stream Driver Private Logs for TD_Evt_UserCommand|Stream Driver - Stream Driver Private Logs for TD_Evt_UserCommand - 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
Language
English (United States)
Last Update
2023-11-20
dita:mapPath
haz1691132518981.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
ana1478611373864
Product Category
Teradata Tools and Utilities

Example 1

When the user provides a valid user command to change the rate and periodicity, the Stream driver displays the following message in the private log for the Stream driver:

"New Rate: %d statements per Minute" "New Periodicity: %d per Minute"

as shown here:

PARSINGUSERCOMMAND: pCmd: 'RATE = 200,PERIODICITY = 9' STREAM_OPERATOR: New Rate: 200 statements per Minute **** 13:33:40 New Rate: 200 statements per Minute STREAM_OPERATOR: New Periodicity: 9 per Minute **** 13:33:40 New Periodicity: 9 per Minute

Example 2

When the user provides an error in the user command, the Stream driver ignores the command, displays an error message in the private log for the Stream driver, and continues the job with the previous Rate and Periodicity values, as shown in the following sample private logs:

PARSINGUSERCOMMAND: pCmd: 'RATE = -10,PERIODICITY = 15' STREAM_OPERATOR: Invalid Rate attribute value (-10). Command is ignored. STREAM_OPERATOR: Continuing with Rate: 200 statements per Minute STREAM_OPERATOR: Continuing with Periodicity: 9 per Minute

===================================

PARSINGUSERCOMMAND: pCmd: 'RATE = 15,PERIODICITY = 605' STREAM_OPERATOR: Invalid Periodicity attribute value (605). Command is ignored. STREAM_OPERATOR: Continuing with Rate: 200 statements per Minute STREAM_OPERATOR: Continuing with Periodicity: 9 per Minute